I have a requirement where i want the current user to be added as watcher whenever that issue is re-assigned to someone else. I know that this can be done with help of post function but i don't know how i can track this "re-assignment" event ??
Please help me out as i need this urgently.
The easiest way might be using the JIRA Toolbox plugin and the watchers postfunctions it provides: https://marketplace.atlassian.com/plugins/com.fca.jira.plugins.workflowToolbox.workflow-toolbox
Another option might be to write your own post function using the scriptrunner plugin: https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner
Autowatching might also be a solution:
If you trigger this listener on every issue assigned, issue created or issue updated event you should be able to add everybody that was once assignee to the watchers (and even the current assignee will be added). It will indeed always be the current assignee you're adding, not the old one. But this will make no difference in the end.
Do keep in mind that you cannot add somebody multiple times to the watchers so you shouldn't be worrying about that.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs