Which field indicates the user who last changed an issue?

In Jira, Updated field indicated the time stamp when an issue was modified. I need to know who last modified/updated an issue. Which field indicates the user who last modified an issue?

5 answers

Unfortunately, JIRA does not have one.   You can vote for these issues to attempt to get JIRA fixed.

https://jira.atlassian.com/browse/JRA-1973

https://jira.atlassian.com/browse/JRA-15235

You can use the changed or was operators on the assignee, fixed version, priority, reporter, resolution and status fields though.

status changed after -5d by George

 

There are some free and paid plugins to help with comments like

https://marketplace.atlassian.com/plugins/com.capitalcityconsultants.jira.plugins.customfields.ccc-lastcomment

https://ecosystem.atlassian.net/wiki/display/JTOOL/JIRA+Toolkit+Plugin

https://marketplace.atlassian.com/plugins/com.primefieldsoftware.jira.essentialcustomfields

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.user.util.UserManager

def changeHistoryManager = ComponentAccessor.getChangeHistoryManager()
def changeItems = changeHistoryManager.getAllChangeItems(issue)

if (changeItems?.size() > 0) {
def userManager = ComponentAccessor.getUserManager() ;
def userkey = changeItems.sort(false).last().getUserKey();
userManager.getUserByKey(userkey);
} else {
null
}

Try that! 

Here is an exampled script using Powerscript.

Add post function to all transitions of workflow and do bulk transition.

JFieldChange [] changes = lastIssueChanges(key);

number i = size(changes) -1;

if (i >= 0){

string fullname = ldapUserRecord("displayName", "(sAMAccountName=" + changes[i].user + ")");

string lastupdatedby = changes[i].user;

if (fullname != ""){

lastupdatedby = fullname + " (" + lastupdatedby + ")";

}

customfield_39271 = lastupdatedby; //Last updated by

}

I don't know how or where to use either of the script suggestions above. Can you provide more detail? Or, can someone suggest how to achieve this with Power BI?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,418 views 15 19
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