I have set up an approval workflow, I have added a transition screen as approver have to give comment on their decision for approval or decline but the transition screen is not showing.
The transition screen seems to only work when approval is not configured. But we need to capture the declined reason through comments on the transition screen. I even added a validator to make comments as a required field but the transition screen is not appearing.
Hi @Murthy A M
First of all, I can confirm that I followed the steps you've mentioned and indeed I confirm that the screen does not appear upon approval. However, if you add another status between the approval and the current status, then the screen appears correctly.
Transitions used by the approval step skip transition screens, so if your decline or approve transitions are going to a 'Done' status, add a post function that sets the resolution of the request so it's considered closed by Jira Service Management.
So I would assume that upon approval, they just skip the transition.
Proposal 1: I would suggest to add an additional status and then add your transition screen.
Proposal 2: Add a self transition called e.g. "Set Decline Reason" and then add this transition screen, and your post function with a resolution.
I would go with the 2nd option. Hope that helped!
After the approval of the issue you can add a self transition like the example below:
However, the approver must click the transition in order to provide a rejection reason, or simply edit the field and place it.
There is no solution per se for this problem you are facing, since as I stated in my first reply, Atlassian is simply bypassing all conditions & validators.
Did anyone get Alex's proposed solutions working? I've tried both 1 & 2 proposals and neither worked.
I'm in the same situation where I need to raise a custom "Deny Reason" screen and have to find a solution before Atlassian fixes the bug. Any other suggestions? Thank you!
Hi @Alex Koxaras ,
Thank you for the response.
I have a simple workflow requirement: "Approve", "Deny" and "More Info Needed". All users are in the "Service Desk Customers" role. Users can submit requests to their managers (Approvers) for training. When the manager denies the request, I need to show the "Deny Reason" screen with options and description for the denial but the transition goes directly to the "Resolved" status, without raising the custom screen.
As suggested, I've tried adding another status between "Waiting for Approval" and "Resolved", assign the screen to show on the last transition - it didn't work. I also created a loop-back transition as you suggested but that didn't work either - in both portal or service desk. Perhaps, I'm doing something wrong? Thank you much!
Yes, managers are the approvers and they are in the "Service Desk Team" role so they're agents. Requestors are in the "Service Desk Customers" role. Approvers can see the self-transition if I attach it to the "Waiting for Approval" status (item #1 n the screenshot) but then it's a two-step process: click "Reject Reason" transition in Actions, select some values from the screen, then click Deny button.
If I attach self-transition to an intermediate Deny status (item #2 in the screenshot), there's no pop-up screen coming up that is specified in the self-transition. It goes through to the Declined status immediately.
Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events