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

This widget could not be displayed.
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

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.
This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

128 views 2 0
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