Forums

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

Prevent specific group from executing workflow transitions in Jira

amit.bakst
Contributor
November 2, 2021

Hi Everyone,
I would like to know how I Prevent specific group from executing workflow transitions in Jira.
Is it through a condition or validator and if I need to use a build-in expression I would appreciate it if you could tell me what I need to write there.

Thanks in advance,
Amit

1 answer

1 accepted

0 votes
Answer accepted
Paloma Fondon Araujo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2021

Hi @amit.bakst 

You must include in a transition a condition in which you allow the execution to the groups that you indicate in the same one, for example:

Condition users in any group.PNG

And then include the groups you allow to execute the transition:

Condition users in any group 2.PNGI hope it helps you
Greetings

amit.bakst
Contributor
November 2, 2021

Hi @Paloma Fondon Araujo,
thanks for your response.
I want to prevent one group from making the transition,
So I want to go the negative way, instead of coming and saying who can (which is all groups except one), I want to say that specifically, this one group cannot.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2021

There isn't a standard condition for blocking a group, you have to say "all groups except this one".  There is no "not" in conditions.

Even if it did, it's more complicated than just "not" - imagine Bob is in group A and you block group A, you're probably going to find that Bob can still execute it, because Bob is quite likely to be in group B, group C, the "can use Jira" group and so-on, none of which you have blocked.  

amit.bakst
Contributor
November 2, 2021

Hey @Nic Brough -Adaptavist-,
Yes, I understand. However, I would like to know how is it possible to do that: "all groups except this one"?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2021

Please see the first paragraph in my previous comment.

amit.bakst
Contributor
November 7, 2021

Thanks for your help :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events