You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YouTrack issue is considered closed when it's State is resolved.
In a single project multiple states can be marked as resolved (Done, Duplicate, Canceled and so on) and so there is no way to close an issue automatically.
Let's say your final state is Done and your project does not have a state-machine rule in your workflow (i.e. transitions from any state to any state are allowed).
Then the operation would be as simple as issue["State"] = "Done" or connection.execute_command(issue_id="<issue_id>", command='State Done').
Now if your workflow only allows to go to Done only from In progress and your target issue is New, then you would have to execute multiple operations and transition through your workflow, same as you would in web UI.
when trying to close an issue there is no method like create? or do we use edit?
an example would be cool
The text was updated successfully, but these errors were encountered: