Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I enforce an approval

Tim H_
Contributor
January 28, 2024

Hi,

my workflow starts with an approval step:

- If approved: Go to next step (Step A)

- If declined: Close issue

That works just fine. However, after step A, there are also steps B to G. All those steps have transitions to all other steps: From A, you can go to B, C, D,...G, or closed. And so on. In order not to have a totally crazy workflow diagram with *lots* of transitions, I allow A-G to be transitioned to from any other step.

Unfortunately, this interferes with my intended approval step. Now, an agent can move a ticket with pending approval to step A (or any other state). That's not what I want.

I had a look at the docs (--> Are approvals always required?) and it said that in order to work properly, approvals may only have two transitions. I guess, that's why my configuration is problematic (as I can access state A, B, C,... from everywhere including from the approval step).

I added a condition to each of the "any"-transitions: "block transition if approval is pending". But this does not seem to work.

Any ideas? Any help is greatly appreciated!

1 answer

1 accepted

0 votes
Answer accepted
Kris Dewachter
Community Champion
January 29, 2024

Hi @Tim H_ ,

I think the only option you have here is to remove, or limit the use of, the ALL transitions.

Should the ALL transition be available to all users / agents ? Or only supervisors ?

What's the use-case for those ALL transitions ?

Best regards,

Kris

Tim H_
Contributor
January 30, 2024

Hi @Kris Dewachter 

thanks for your reply. I removed the ALL transitions and created transitions from each status to each other except from/to the approval step. It now works.

Tim

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.15
TAGS
AUG Leaders

Atlassian Community Events