validated field able to be cleared

Kevin Dalton January 6, 2016

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

1 vote
Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 6, 2016

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.

0 votes
Kevin Dalton January 6, 2016

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

Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 6, 2016

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 6, 2016

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

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 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.

0 votes
Chander Inguva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2016

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

Suggest an answer

Log in or Sign up to answer