Is there a way to close an Issue as another user?

I create tickets in Youtrack from a form using the REST API.
Setting the reporter is no problem here.

However, when I close the ticket via the API, the owner of the API token is always displayed.

I would like to show the user who actually closed the ticket. (I have the user ID or user login).
How can I achieve this?

 

Thank you in advance.

 

Thorsten

0
1 comment

Hi Thorsten. If you use your own token to change the ticket state and mark it as resolved, it's expected that your own user will be shown as the one who resolved it. Reporter-type users can't have permanent tokens, nor can they apply state changes in general, so they can't close tickets on their own. Tickets can be closed by an agent or through a workflow automation.

0

Please sign in to leave a comment.