Forums

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

Making field required in transition to new status.

Jason Chayer
Contributor
May 22, 2024

I am trying to make the comment field required when moving from status 'Not Started' to 'Closed.' I followed the steps of setting up a validator in this transition; however, when I went to test, it did not work like I was thinking.

I tried to transition to 'Closed' it gave me the error I need to add a comment. So, I added a comment, tried to transition to 'Closed' again, but got the same error.

What am I missing?

2 answers

2 accepted

1 vote
Answer accepted
John Funk
Community Champion
May 22, 2024

Hi Jason,

You need to create a new screen to use on the transition and either put just the Comment field on there or leave it blank because the Comment field will be there anyway. 

Then add the screen to the transition in the workflow. Then publish the workflow and give it a new try. 

You should fill in the Comments field in the screen that pops up when you execute the transition. 

Jason Chayer
Contributor
May 22, 2024

@John Funk - thanks, I forgot about that step. That worked!

Like John Funk likes this
John Funk
Community Champion
May 22, 2024

Great! Glad to hear.

0 votes
Answer accepted
Manoj Gangwar
Community Champion
May 22, 2024

Hi Jason,

If you already setup the validator then please check if screen is added or not. If not then you need to add a screen on the transition and add the comment field under that screen. So, when you perform the transition at the same time you can add the comment and validator passed and moved ticket to next status.

 

Thanks,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events