I'm stumped. I've a found few posts and checked out the Adaptavist library but I just can't the issue history to update. Instead, it throws an error for
The ResScoreField is the custom number field I want change history captured for. I do some other comparisons with issue fields but those work (not shown) so to simplify I just want to record in the issue history when the value of the ResScoreField changes from 1 to 2. Both the scripted field and custom Number field update on the ticket as expected but the ResScoreField never writes to the history.
Simplified Script:
You should not update issue in a scriptfield as it's run everytime you display the issue, use a script listener instead.
If issueManager do not add entry in the issueHistory, updating using issueService should.
https://library.adaptavist.com/entity/update-the-priority-of-an-issue-in-jira
Regards
Ok. Makes sense. I will move what I am trying to do over to a Listener instead. Cheers, thx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.