when an issue is updated I'd like to save the author of the changes in a custom field

That's pretty much it.

I need a custom field called "Last edited by:", or something like that.

I can not use post functions because I want the custom field updated even if there's no status transition. Also, I don't know how to capture the name of the author of the changes (i've used %current_user% in some post functions but as i've said post functions are aout of the question in this case).

Thanks in advance.

1 answer

0 votes
Tarun Sapra Community Champion Aug 31, 2017

You need a custom listener or if you have script runner plugin installed then you need to implement an listener, which listens for issue update events and updates the custom field with the name of the event author.

Tarun Sapra Community Champion Aug 31, 2017

Using event.getUser() you can get the author of the event and then populate the custom field with that value


Thanks a lot for the quick response. I will check out the custom listener approach as I do not have the script runner plugin installed.

The issue would be that my coding skills are quite limited to using Matlab to solve physics problems so if there's any hope to avoid coding I would prefer that.

From https://confluence.atlassian.com/adminjiraserver072/listeners-828787617.html I understand there's already a IssueEventListener (The main listener interface in JIRA, used whenever anything happens to an issue).

Could this be already what I need? I guess I'd have to modify it slightly but that's much easier than having to start from scratch.

If so... What would be the steps I should follow? How do I get that "com.atlassian.jira.event.issue.IssueEventListener" and where do I save it so I can add the new listener (.../WEB-INF/lib?)?

Please excuse any nonsense I might have said and thanks again.

Suggest an answer

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

Transforming Jira Software projects for general project management purposes

...It's true that there are projects in Jira; but they are merely a way to cut off issues, to tell them apart from other sections of work and to apply rules that are specific to that team (the schemes)....

183 views 0 6
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