Forums

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

Add comment when select list value set from "No" to "Yes"

Gajanan Sasane
Contributor
May 29, 2023

I'd want to create a Jira automation rule that would be triggered on edit issues if the value of the list is changed from "No" to "Yes," "Yes" to "No," "None" to "No," or "None" to "Yes."

1 answer

1 vote
John Funk
Community Champion
May 29, 2023

Hi Gajanan,

You should be able to create a rule based on a Field Value Changed trigger. Then add an IF/ELSE condition block where you handle each of your scenarios above. 

Under each Else section add a new action to Comment on Issue. 

Gajanan Sasane
Contributor
May 30, 2023

@John Funk, It would be great if you could guide me through a single scenario.

John Funk
Community Champion
May 30, 2023

Sure see below:

Screenshot.png

Gajanan Sasane
Contributor
May 30, 2023

@John Funk  Thank you for responding quickly, however, it is not my exact request.
The rule is triggered by automation when the list value is changed from the old value to the new one.

Support while creating an issue I chose "No" as the list option; afterward, I edited the issue and changed the list option from "No" to "Yes"; then a comment should add.

John Funk
Community Champion
May 30, 2023

Okay sorry, I should have explained more. I didn't have a custom field in the playground that was a yes/no field so I used the Resolution field. Just replace the resolution field with your yes/no field and change the the value in the first to No. And for the Else change from Resolution to your yes/no field and change the value to Yes. 

Gajanan Sasane
Contributor
May 30, 2023

Hi @John Funk, I am sorry, but it's not working as I expected.
Thanks for your help.

John Funk
Community Champion
May 30, 2023

Please share the rule that you have created and what is not working with it. 

Suggest an answer

Log in or Sign up to answer