Issue Re-assignment Event


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.


1 answer

Hi Hiren,

Simply add the assignee to the watchers list using the issue assigned event.

This is triggered everytime the issue is assigned (so also when the issue is reassigned).

Best regards,


Thanks Peter for your response bu i am a newbee. Can you please elaborate. I have added post functions in Workflows but i am not getting an idea about how i can write post function for "Issue Assigned" event ??

Hi Hiren

The easiest way might be using the JIRA Toolbox plugin and the watchers postfunctions it provides:

Another option might be to write your own post function using the scriptrunner plugin:

Autowatching might also be a solution:

Best regards,


Well, those plugins really don't fir mt situation but yes if i find a way to capture issue-assign event from groovy listener, may be i can achieve what i want.

But how do i capture issue assigned event in groovy runner ??

Use the listeners to listen for the Issue Assigned Event, they can then trigger your groovy script.

I'm sorry peter but I think i was not able to explain my last comment. My concern is that how do i get the last Assignee. I have used the custom listener but i am not getting the last assignee. All i get is the current assignee and not the older one

Hi Hiren,

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.

Best regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,102 views 4 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you