I am using rest api to update the status of a jira issue, for ex: update the status to 'Resolved' irrespective of what it's current status is. In the workflow, I have various transitions from various states to the 'Resolved' status. Each of those transitions have their own transition 'id's.
I have seen the rest api to update the status by passing a transition 'id'. But I have multiple transition id's here and not sure to pick which one as I am not sure what the current status is.
I can find the current status and all, but is there a direct way to update the status to a particular one irrespective of what the current status is?