Forums

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

Why do the users see possible statuses (transition options) even though they don't have the rights

Sidar Yarar
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.
June 26, 2023

I have a project where internal and external work together. Depending on the Group, users can perform different transitions. So far so good, my question: Why do the users see possible statuses (transition options) even though they don't have the rights to transition the Issue there? Can I change it to only show transitions they are allowed to do?

4 answers

0 votes
Steve Long -Evelon-
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.
June 26, 2023

Hi @Sidar Yarar

Sure, this can be done. In order to ensure users don't see the transitions that they don't have permission to carry out, you need to use Conditions. Doc for ref: Configure advanced issue workflows 

Conditions control whether a transition should be executed by the user. As examples, conditions can be used to:

  • allow only the reporter to execute a transition.
  • allow only users with a certain permission to execute a transition.
  • allow execution only if code has, or has not, been committed against this issue.

You'll need to create a Condition on the transitions that you only want to be visible to certain users and specify that only a particular user group can execute them, for example.

Hope that provides some insight - Steve.

Sidar Yarar
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.
June 26, 2023

@John Funk @Evgenii @Sayed Bares _ServiceRocket_ @Steve Long -Evelon- The transition has a user in the project role condition, but the other users can still see the transition. When the other users try to execute the transition, they get a error that they don't have permission, but I don't want them to see it at all.

0 votes
John Funk
Community Champion
June 26, 2023

Hi Sidar,

If you use the Validator, the user can still see the transition and would just get an error if they don't meet the parameters of the Validator. 

If you use a Condition and the user does not meet the Condition, then they will not see the transition at all. Which I think is what you want. 

John Funk
Community Champion
June 26, 2023

Can you share a screenshot of the transition with the details? 

Sidar Yarar
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.
June 29, 2023

I fixed it by expanding the workflow. Unfortunately, it wasn't possible without this workaround.

Like John Funk likes this
0 votes
Evgenii
Community Champion
June 26, 2023

Hi, @Sidar Yarar 

If you want to hide transitions, you have to use Conditions in transition options. This function decides, is transition visible to user or not.

0 votes
Sayed Bares _ServiceRocket_
Community Champion
June 26, 2023

@Sidar Yarar Yes with User Is In Any Group condition you should be able to do so. You can allow only certain people to see the transitions based on groups.

Hope it helps!

Suggest an answer

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

Atlassian Community Events