Making Custom Field Read Only?

In JIRA, is it possible to make a (unlimited text) custom field read only, except for (for example) administrators?

If so, how?

5 answers

1 accepted

2 votes
Mizan Community Champion Dec 05, 2012

Try behaviours plugin ... make the fields readonly and add a condition when user is administrator ....

refer the docs https://studio.plugins.atlassian.com/wiki/display/JBHV/JIRA+Behaviours+Plugin#JIRABehavioursPlugin-Makeafieldreadonlyexceptforacertainrole

Hi,

Behaviours plugin is really the best way to do this. You'll have a lot of possibilty to customize your customfield behaviours.
https://marketplace.atlassian.com/plugins/com.onresolve.jira.plugin.Behaviours

Regards.

Thanks for the feedback, will try a plugin like recommended!

This is possible to do without having to buy plugins, but it'd be a bit of a pain in the neck.

 

1. In the project, make sure the read-only field is only present on the View screen, not on the Edit screen.

2. In the workflow, create a new status (I'll call it ADMIN) and set it to be reachable from any status.

3. Click on the transition leading to your new ADMIN status, and set the Validator to "User has permission: Administer project".

4. Create a screen with your Custom Field on it, and tell the Transition to your ADMIN status to use that screen.

5. Create a transition from your ADMIN status back to the normal workflow.

 

You now have a transition which only project admins can use, and the custom field you asked about should only show up in the screen attached to that transition.

... it may be less hassle to just go ask for a budget to buy Behaviors, though laugh

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,203 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot