Storing the userid of the last user to edit an issue?

I'm integrating JIRA with another system and I was hoping to store the userid/username of the last user to edit an issue. When I say "store", I mean, "Save the username to a custom field".

I was hoping to be able to store the username on transitions between statuses AND any time a field is changed on my issue.


The reason why I'm hoping to do this is because I'm polling JIRA for changes, when something changes, I want to analyze who made the change... if the person that made the change is a human, then I'll update my other system... and vice-versa.

Right now my other system has a field, "last_edited_by" so I know if my integration updated the system OR if a human did... so I know whether to pass the change back to JIRA.

Without the ability to determine who is updating JIRA, my integration could get stuck in a loop (it updates JIRA, then it updates my other system, then back and forth, YAY!).

Thank you!

1 answer

1 accepted

Accepted Answer
0 votes

You can do it in a JIRA listener. The page also links to tutorial on how to do it.

Thank you... I was hoping there was an easier way.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,288 views 2 7
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