Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a field required only in specified transition?

sssssss
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 27, 2018

Hello,

According to our workflow, we need a code review report while switch task status from 'in progress' to 'testing', I wonder if a field could appears only when the issue during 'in progress' status, and required while the issue switch to 'testing'. I found screen scheme may do so, but it can only set different screens on create/edit/view. Is there any method to carry my requirement out?

2 answers

1 vote
Ollie Guan
Community Champion
December 27, 2018

Hi @sssssss,

You can refer to the following steps to configure this transition

1. Create an screen with the fields you need to display
2. Modify the workflow to manage this screen in the middle of 'in progress' to the 'testing' status

1.png2.png

0 votes
PADMA KOTHAKOTA
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.
December 27, 2018

Hi @sssssss,

 

As @Ollie Guan said create a screen with the field and add the screen to the Transition (to create a screen Go to issues--> screens--> Add screen and provide the name and description of the screen --> it will create a empty screen --> add the field to the screen ) 

To make a field mandatory while moving an issue to the Testing  status add a validator to the transition called "Field is required Validator (JMWE add-on)" and select the field which you want to make mandatory .

Suggest an answer

Log in or Sign up to answer