Forums

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

How to show a button only to users with admin role?

Jira User
June 30, 2022

Hello there,

I want only users with admin role to see a button in jira.
I want to find scriptrunner code where I can provide this restriction.

 

Thanks everyone

1 answer

0 votes
Craig Nodwell
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 Champions.
June 30, 2022

You shouldn't need to do anything fancy with scriptrunner to do this.  All you need to do is set a condition on the transition you wish to only expose to a limited group or role.
Ex: Condition = Only users in group Admin can perform this transition
     Condition = Only users in Project Role Admin can perform this transition

Suggest an answer

Log in or Sign up to answer