Forums

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

Field value should only be updated by jira-administrators

Madhu Reddy
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.
February 9, 2022

Hello,

We have a field with 3 values, where 2 values can be updated by any logged in user and the remaining value can only be updated by the jira-administrators. 

Lets say the values are Yes , No and PM Approval. 

The values Yes and No can be updated by any logged in user.

PM Approval can only be set by jira-administartors. 

Is there any possibility to achieve this in Jira, we have JMWE and Scriptrunner addons.

 

Thanks&Regards

Reddy

1 answer

0 votes
David Fischer
Community Champion
February 9, 2022

With JMWE, you can't modify the list of values offered to the user when they edit the field. You might be able to do that with ScriptRunner's Behaviors but I'm not sure.

However, what you can do with JMWE is create an Event-based action that listens to changes to the field, and if the user making the change is not an admin and the PM Approval value was added during that change, automatically remove the PM Approval value and possibly use a Display Message to User post-function to notify the user.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events