The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Jira Automation Rule for adding a comment upon field change

vincenzo.spatafora
Contributor
July 19, 2024

Dear Community,

I've thought it was an easy one but actually I'm being struggling:

I would like to create a Jira Automation Rule such that when a field goes out from a specific value (which is Blocker), a comment is added to the ticket.

See please attached my current rule flow and could you please let me know if there is a condition such that the comment is added only when this field chnages its value from "Blocker" to any other of the 4 values? (Blocker/Critical/Major/Minor/Normal).

As it is now, a comment is added also when this field changes for example from Minor to Major (which I don't want).

Thanks in advance, Vincenzo. 

 

Observation_Priority.PNG

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Hans Polder
Community Champion
July 19, 2024

@vincenzo.spatafora 

This should do it:

Screenshot 2024-07-19 135158.png

vincenzo.spatafora
Contributor
July 19, 2024

Thank You @Hans Polder very much.

It works indeed, and no need even of the first "If": that's very smart.

Kind Regards, Vincenzo.

Like Hans Polder likes this
Hans Polder
Community Champion
July 19, 2024

@vincenzo.spatafora Happy to hear! Could you help me by clicking the 'Accept answer' button next to my reply? This will mark the question as Resolved.

The IF at the start could maybe be helpful, if for some reason a ticket is changed from Blocker to Blocker, but I'm assuming the chances of that are low (and maybe not technically possible). I leave it up to you to keep it in or out :)

vincenzo.spatafora
Contributor
July 19, 2024

Thanks @Hans Polder for your comment.

Yes, sure, I click on it.

Kind Regards, Vincenzo.

Like Hans Polder likes this