How can I make a field editable only for some role?

Luciana Di Matteo November 8, 2018

Hi, 

I want that the fixed version is only editable for some role 

Can you please help? 

5 answers

1 accepted

6 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2018

You can do this without add-ons, but it means moving the edit into the workflow.

Take the field off the issue edit screen, as mentioned above.  This allows you to create an issue with it, but then no-one can change it.

Add transitions to the workflow, such that:

  • They go back to the current status
  • They have "transition screens" screens that include the field
  • They have names like "Edit <field>"
  • They have "conditions" on them that only allow your one role to use the transition
1 vote
PADMA KOTHAKOTA
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 8, 2018

It is possible using Behaviors. You can restrict the field for particular project role

Luciana Di Matteo November 8, 2018

what is Behaviors? Thanks 

PADMA KOTHAKOTA
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 8, 2018

Behaviours is a Jira plugin it defines how fields behave for issues in a given project or issue context.

For more info check the below link

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html

Azfar Masut
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 20, 2019
Like Dominik Fogel likes this
0 votes
Somesh Sahoo April 23, 2024

By automation you can give the edit access to a particular user for other if they edit the value it will be reversed to the original value.
implemented and working fine 

0 votes
Liam Maeder October 6, 2020

This is a missed oportunity that has been requested by my own team members on Server a couple of times, nothing short of a plug in helps.

Does anyone know of an open task to vote for? Or how to log these tasks?

Thanks

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 6, 2020

There have been a number of requests in the past, but Atlassian have closed them all with "won't do this".

You could try raising another over at https://support.atlassian.com/contact but I'd expect it to be closed as a duplicate.

0 votes
Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2018

You can't do that in Jira Cloud.

The use of Behaviours that @PADMA KOTHAKOTA suggested is only for Jira Server.

Also, this solution is for Server using a 3rd part add-on named ScripRunner, it's not a build in feature in Jira either in Cloud or Server.

Luciana Di Matteo November 8, 2018

Thanks @Nir Haimov, so no way I can not allow a field to be edited by anyone? 

Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2018

Id you don't want the field to be editable at all, then remove it from the "edit" screen.

If you want the ability that some people will be able to edit the field and some not, well, you can't have this.

Suggest an answer

Log in or Sign up to answer