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
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 yesterday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

75 views 2 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