Forums

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

"Field has been modified Validator" not working with comments field

Ben September 3, 2020

I have added a "Field has been modified Validator" to my workflow to make sure the comment field has been modified before the issue progresses to the next state. 

image.png

This doesn't work as expected as the validator shows an error even though a comment has been added.

image.png

image.png

1 answer

1 accepted

1 vote
Answer accepted
Ste Wright
Community Champion
September 3, 2020

Hi @Ben 

Is the comment set during the transition or before/after it?

To set it during the transition, you would usually have a screen on the transition itself which pops-up when changing between statuses.

Ste

Ben September 3, 2020

Hi @Ste Wright 

thanks for the explanation, I don't have a screen assigned yet. I assumed this would also take comments added to the issue through the normal edit screen into account. I will try add a transition screen.

Cheers

Ben

Ste Wright
Community Champion
September 3, 2020

Hi @Ben 

The validator checks if a comment has been added during the transition - so between the transition button being selected and the next status being set. To enable this, you need a screen which pops-up during the transition to add a comment.

If you're looking to allow a transition based on an issue having >0 comments, that would be a condition. I don't think there is a condition natively that does this, but there might be a workaround using a custom field and an automation rule?

Let me know if you need any specific instructions with either screens during transitions or the condition - happy to help :)

Ste

Like # people like this
Ben September 6, 2020

Hi Stephen,

adding the transition screen solved the problem, users now have to enter a comment when transitioning the issue through the workflow. 

Cheers

Ben

Like # people like this
Saro JAMKOSSIAN
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!
June 14, 2023

@Ste Wright 

Is there a guide we can follow to see how we can trigger transition screens in specific and independent cases. For example in one transition screen I want to change field A and B, while in a following transition I want to change field C only.

Thank you.

Ste Wright
Community Champion
June 26, 2023

Hi @Saro JAMKOSSIAN 

Could you explain your need in more detail?

It sounds like you need two separate validators (one per transition), and two separate screens :)

Ste

Saro JAMKOSSIAN
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!
June 26, 2023

Hello @Ste Wright ,

I would like to know how I can trigger the transition popup window when changing from "In Process" to "Done" so that my team can fill in the time spent and their notes during the transition.

I managed to set the activator rules with "Field has been modified Validator; Field value must be changed during the transition.". Once active, the users are blocked when choosing to move issues to the following stage because there are no popup window for the transition screen.

I have seen this work in the past, a popup window appears asking for mandatory fields to be completed, and then when submitted, the issue moves to the following stage.

 

I hope I was clear.

 

Thanks in advance.

Nic Brough -Adaptavist-
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.
June 26, 2023

You need to edit the workflow, and add a screen to the transition(s) where you want to see one.

Like Ste Wright likes this

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