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

Accepted Answer
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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27,510 views 2 7
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