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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

125 views 4 9
Read article

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