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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,042 views 15 13
Join discussion

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