It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can we lock jira Custom field

Can we lock fields so only we can change the default value and user cant change that, How we can make the fields lock and how it is usefull to lock them. Can someone explain

1 answer

0 votes
Joe Pitt Community Leader Nov 05, 2019

JIRA doesn't allow you to lock fields. The work around is to put the field on a transition screen for a transition with a condition of a particular project role. Then put the field ONLY on the view screen. Put the transition anywhere you want to be able to change the field. 

As a small addition: you probably might want to add this transition as a global reflexive one, meaning 'From any status to itself' so that it's available for the allowed users all the time.

Like Joe Pitt likes this

@Joe Pitt 

Would it be OK to explain this in a little more detail please?

I am creating a ticketing system that will collect various types of information based on the state the ticket is in. However I want to only allow some fields to be available for filling in once a specific transition has been made into a new state.

 

I hope this makes sense - I think your solution is what I am looking for but I don't understand it 100%

Joe Pitt Community Leader Apr 22, 2020

I don't know how to make it clearer. 

Only put the field on the transition screen where you want it filled in

Restrict the transition to user with a particular project role

Only put the field on the View screen, not the edit or create screen. If you only have one screen it is used for create, edit, and view. You need to create at least a view screen. I like to have all three, The create screen for only fields needed to create the issue, the edit screen for users working the issue, and the view screen that includes all the fields used by the issue including the ones only on transition screens. 

As @Thorsten Letschert _Decadis AG_ said you may want it always available

Read the documentation for how to limit transitions or make it a global (reflexive) one. 

Like # people like this

Thank-you Joe. 
Much appreciated

DK

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you