There are a few custom fields (e.g. Rank, Sprint, etc) that are locked by default in JIRA.
From this https://confluence.atlassian.com/jirakb/how-to-unlock-a-locked-field-779158866.html, I gather that it is not recommended to unlock these fields because they might cause unwanted behaviors.
I haven't been able to find out exactly what might be the consequences of unlocking any of these fields.
For e.g. I unlocked the field 'Sprint' because I had to make it required in one of the custom fields, but I couldn't see any breaking in JIRA operations or other unwanted behaviors.
So my question is, has anyone experienced unwanted JIRA behavior after unlocking these fields?
How can I find out if unlocking is actually affecting the JIRA behavior at all? Or is it just working normally?
Can this be tested?
Many thanks in advance.
I can give you two examples of consequences learned the hard way from one client.
Unlocked sprint field - all the sprint data was lost when they upgraded. Had to go to a backup and even then we lost a lot of historical sprints.
Unlocked Epic name - the relationships between story and Epic became corrupted, with the wrong Epic name being written onto issues, and eventually, sub-tasks started to get Epic names which were different to their parents. So the data was nonsense. Correctable, but not fun. We think the actual corruption was down to something an add-on was doing, but it was the unlocking of the field that allowed the system to be configured that way.
One reason for locking fields is non-technical - you don't want your admins doing bad things with your system. For example:
>I unlocked the field 'Sprint' because I had to make it required in one of the custom fields
That is a terrible thing to do, as it completely breaks Scrum. You should never be automatically jamming things into a sprint on issue creation, you should only add things to a sprint when you plan, with the odd exception when it's important. That's why it's optional - filling in a sprint on creation should be a very rare occurrence
Hi Nic, thanks for the answer, it helps understand the effect better now.
I had unlocked the Sprint field, made it "Required" in field configuration. Now I have locked it back again.
Do you think there would still be potential for unwanted/harmful behavior to JIRA? Even after locking the field? (But with 'Required' condition now being applied)
Or should I unlock the field, remove the required restraint, and lock it back again?
I would remove the constraint, mainly because it's a bad thing to do in terms of usage. I don't expect the config to cause you any technical problems. You should definitely re-lock the field after making config changes.
The fields being unlocked themselves does not cause a problem directly, but they do allow people to set up situations where things can go wrong.
The challenge of using a validator on transition is that it does not solve the 'move' case. People (intentionally or unintentionally) can get around required fields when creating issues as one type that don't require the field, and then move the issue to the type that requires the field. The move only enforces required fields, nothing in the transition. Somebody suggested adding the validator on each transition so that the issue can't move through it's workflow without the required field....but that's not great and issues that aren't moved through the workflow remain without the setting, and this creates more complex workflows that must be maintained. Has to be another way......
Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...
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!
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