You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
In Jira Service Desk we leverage an approval workflow that has 4 approvers but only 1 needs to actually approve the ticket. We are doing an audit and I need to be able to show in a report who out of the 4 actually approved the ticket.
I used the jql approvals = approved() and showing the column Approvers but it is pulling all 4 names and does not identify who actually approved the ticket.
The easy solution is to have a workflow transition that is restricted to those 4 potential approvers. On transition, add a postfunction that copies the currentuser() to the customfield you want to add to your report. You'll have just one name there.
Hope it helps.
The restriction can't be retroactive because every issue already has the status it has.
You could edit the field aprover retroactively just adding the custom field to the corresponding screen and bulk editing every issue you want but that edition will of course be made let's say today, and that's the date any audit will show for the change.
You could edit the dates those fields where changed directly in the DB but I don't recomend you to do that since you could mess your installation up.
Please accept the answer if that was what you were looking for. If you need further help configuring the workflow the way I told you just ask and I'll throw some screen captures in to make it easier for you.
You should use the Update Custom Field postfunction. From the top of my head that comes with Jira Suite Utilities.
If you just need this functionality you might use an old free version (1.5.4) but you could also give it a try and check what the newer versions (currently 2.15.1) can do for you since they've added a lot.