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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

150 views 0 2
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