I'm working on Approval step in status Waiting for Approval when one of the Approver declines it will transition to status For Revision. My problem is if it goes back to the Waiting for Approval status it will reset the approverDecision of the Approvers. Also accessing the history of Approval via REST API is limited and Approval field is locked or not editable. My goal was to retain the approverDecision of the users who already approved or transfer them to a certain field that list all users who already Approved but it is not doable since accessing approval history only shows the record of first transition.
I'm having a hard time setting up this Approval, do you guys have any idea or workaround, thank you in advance.
You’ve hit one of the common limitations of Jira Service Management approvals: when an issue returns to Waiting for Approval, the built-in approval field resets, and the previous decisions aren’t retained. Unfortunately, the approval history is not fully exposed via the REST API, and the Approvals field is locked, so you can’t directly edit or persist those decisions.
What I think u should try:
Unfortunately, as far as I know there’s no native way to stop Jira from resetting the approval field when the status changes back, so automation or an app is the best route.
Also check these links:
Let me know if it worked!
I added a Post Function that clears the value of Approvals field. Before, once you updated the Approvers field, the following approval values/history is not showing when you access it with Postman, now it shows the full record of every after Approval. I can now manage the Approvers easily with the scriptrunner.
@Christos Markoulatos still thank you for your time and effort I really appreciate you bro <3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice!! Glad to help @Vince Aldrin Cantada , that's what the community is for. Next time u can give a hand to someone. Also accept the solution if u are ok with it, and keep rocking!
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.