Whats is the best way to assigned ticket to some other users, if existing assignee left the company. we are looking for better solution. we are doing automation using API, to disable user in JIRA but if user has ticket assigned or if he is component lead, we cant disable user.
one option : assign ticket back to reporter.
is there any other option in jira, please lets know.
Thanks
Mangesh
You could add this change of assignee operation to your user disable script before the actual user is disabled. There are REST commands for that too.
https://docs.atlassian.com/jira/REST/latest/#api/2/issue-assign
if you use -1, this uses the automatic assignee, or "" to simply remove the assignee.
To change the assignee automatically back to the reporter would require some heavier scripting. Getting the issues where user x is the assignee, getting the reporter of these issues, and make a loop to assign issues to the reporter.
You can create a virtual user with noUser for this. When you need to disable somebody you can assign all issues to this virtual user and then reasegn it to real users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.