Automation for JIRA trigger when field value cleared.

integrations@22squared.com
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 28, 2018

I'm currently able to trigger automation on issue transitions when setting Flagged = 10000 as a post function to Flag the issue with Impediment. (eg. issue is sent back to development from QA in the workflow).

I can do this with the Field Value changes automation on the Flagged Field.

Screen Shot 2018-06-28 at 11.00.35 PM.png

This properly triggers the slack notification on those specific issues that bounce back and are flagged in the JIRA workflow post function.

I'd like to also trigger another slack notification on the return path when the Flagged Field is cleared. (eg. issue comes back to QA and Impediment is cleared). There is a JIRA post function that clears the Flagged field on the way back into QA.

Is there a way to properly trigger automation when the Flagged field Impediment is cleared or is there another way to handle this scenario?

Thanks!

2 answers

0 votes
Haris Vugdalic
Contributor
July 2, 2018

I figured it out!

For some reason having a custom notification event fire in the post function of the transition in question prevents the JQL from getting matched correctly in the automation rule. This might be worth checking into by the codebarrel/jira automation team.

Once I switched it to Generic Event (which essentially fires a notification to All Watchers & Current Assignee) then the rule started matching successfully.

Thanks,

-Haris V.

0 votes
Scott Harwood
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.
July 1, 2018

Hi,

What kind of field is the "Flagged field" ? If it was implemented correctly then it should trigger the field value changed trigger again.

Thanks,

Scott

Haris Vugdalic
Contributor
July 2, 2018

Scott,

Looks like it's a Checkboxes field with 'Impediment' as its sole option. Setting impediment on that field consists of (Flagged = 10000) on a post function which triggers the automation successfully.

On the return trip, I'm just using post function "The value of Flagged will be cleared."

P.s. This is my actual account, I accidentally posted with an integration user above.

Thanks,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events