How to change field attributes in JIRA depending on status

Victor Campbell September 29, 2014

A project would like to change field attributes based on the status of the issue.  In one state they would like a field optional, another state they want it required, and even in another state they want the field "read only".   Can this be achieved using "out of the box" configuration options? 

2 answers

0 votes
Hiren Savalia November 20, 2014

Is there any way to get validator using REST API while changing status ?

0 votes
Udo Brand
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.
September 29, 2014

You can make a field mandatory during a transition using a validator. It can't be dependent on the status (only in the transition to a status). So,

1. for optional use a transition screen including this field

2. for mandatory use a transition screen including this field and add a validator that this field is required

3. for read only remove the field from your edit screen. (since you have this field in the transition screens you can edit only during transitions)

 

Suggest an answer

Log in or Sign up to answer