validated field able to be cleared

When we require a field on transition how can we prevent the field from being cleared out on the edit screen or with inline edit?

3 answers

If you require the field to be changed only on the transition then you should add the field to a screen that is only used for the transition. It should not be included on any other screen especially the edit screen as that will allow inline editing. 

You then need to set a validator on the transition to ensure that the field is completed as part of the transition.

Hi Kevin,

              If you have Script Runner installed, using Behaviours, you can make it read-only.

 

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html

 

Beh.PNG

 

Regards

Chander

Right, but once it has transitioned what prevents them from hitting edit and removing it?

Who was this comment aimed at? @Phill Fox or @Chander Inguva ?

Nothing - that's why you remove it from the edit screen.

Steven Behnke Community Champion Jan 06, 2016

If you're experiencing this problem you're not using the Edit function right. If you give everyone Edit permissions, you have zero control of your data. Use transitions + validators without Edit operations if you need to control data.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

300 views 0 6
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