I'm trying to access field change values using lastFieldHistory() routine and having a problem. It returns the user, date and Field name that is changed but empty values in place of changes. Using the below versions
katl-commons - 3.1.1
The code is below
string lastChange = lastFieldHistory(key); string ret = "Issue " + key + " was last changed on " + lastChange + " by " + userFullName(lastChange); ret += ": Field " + lastChange + " from >>" + lastChange + "<< to >>" + lastChange + "<<"; return ret; logPrint("INFO", "Change history of Issue is" + lastChange);
Returns the value
Issue RS-33 was last changed on 2015-12-07 17:20:44 by admin|: Field description from >><< to >><< //LogPrint of lastChange array is admin|2015-12-07 17:20:44|description||
I've investigated this issue and it doesn't seem to occur on every field (but it does on description, for example).
We're getting the changes from DefaultChangeHistoryManager, and, for description field, for example, we get this:
As you can see, the values are not registered.
Unfortunately, I don't think the fix is something in our power.
We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...
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!
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