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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

73 views 0 5
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