Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Workflow Transition Screens does not appear for Approval or Declined

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.

2 answers

Hi @Murthy A M ,

confirming what @Alex Koxaras already suspected. In addition, see https://jira.atlassian.com/browse/JSDSERVER-4789 and watch for further updates.

Cheers
Thorsten

0 votes

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. 

UPDATE: Here (Configuring Jira Service Management approvals | Administering Jira applications Data Center and Server 8.16 | Atlassian Documentation) it states:

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!

Alex

Hi Alex,

I am wondering how would we configure self-transition in JSM as you stated in Proposal 2.

Please help. urgently required !!!

Thanks in advance!!

Alex Koxaras Community Leader Jun 17, 2021

Hi @Ragini Sharma ,

Do you use any addons on your instance?

Yes. We have script runner, opsgenie etc. as add-ons.

Alex Koxaras Community Leader Jun 17, 2021

@Ragini Sharma ,

After the approval of the issue you can add a self transition like the example below:

self-trans.png

 

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.

Hello,

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!

-Steve

Alex Koxaras Community Leader Sep 28, 2021

Hi @Steve Dobrioglo ,

What exactly is the problem in your workflow? The approver can't see the transition? The approver has the browse project permission?

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!

-Steve

Alex Koxaras Community Leader Sep 28, 2021

Steve,

That's what I'm asking! Who is the approver? The managers/agents? If yes, they should be able to see the self transition. But do let me know and will take it from there!

Alex,

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.

 2021-09-28 15_31_12.jpg

Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

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 ...

1,491 views 20 12
Read article

Community Events

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

Events near you