Forums

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

Automation Rule: Not triggering Issue Transitioned Rule on Kanban board

Timothy Lux February 24, 2021

Problem: I am unable to get a specific project-specific automation type working that would perform a task when an issue is transitioned from one column on my board to another.

Setup:
- I have a classic software project in Jira Cloud with a kanban board consisting of four columns: call them A, B, C, and D. I do not have the Kanban backlog enabled.
- On the board, Column A maps to the "Open" status, Column B maps to a "Peer Review" status we created, Column C maps to the "In Progress" status, and Column D maps to the "Closed" status.
- The project is setup with a pretty simple workflow so Open --> Peer Review, Peer Review --> In Progress, and In Progress --> Closed.
- The transition from Open to Peer Review looks pretty standard to me. Here are the Post Functions:

Transition.PNG

I am trying to setup an automation in my project so when an issue is moved from Column A to Column B something happens (assigned to a developer, comment made, etc). Because I couldnt get it to trigger, I tried a really simplified automation rule that did this:

AutomationSetup.PNG

But after several test runs, the comment never showed up in the issues. And the audit log shows it was never triggered. So then I changed the trigger in the automation to not limit to any statuses at all -- just any transition from one status to another, and again the audit log shows that was never triggered.

I have also tried to change the trigger from "Issue transitioned" to "Field Value Changed" looking at the Status field, but that did not result in any difference.

Note that I have several other automations setup for various other things in this project, and they do work as expected. 

Can anyone see what I'm missing?

2 answers

1 accepted

2 votes
Answer accepted
Timothy Lux February 26, 2021

I found the answer to the problem in this post: https://community.atlassian.com/t5/Jira-Software-questions/Automation-rule-is-not-triggered/qaq-p/1446148

In my transition, I needed to remove the "Fire Work Started On Issue" event post-function and add a "Fire generic event" post-function.  That got the automation to trigger.

Laci Kremer
Contributor
April 28, 2021

Thanks, this helped me too.

 

Seems to be clearly a bug, Automation either could trigger for all event as the trigger only tells about statuses - at least should show a sentence that we should use Generic Event.

Scott Gold November 19, 2021

Thank you for this! OMG been struggling for days on this. exact issue. Not triggering because I changed from Generic Event to a Custom Event that's based on Generic Event. Thats a HUGE bug, or at least should be in-your-face notice when building the automation. Changed my Event and it works great now!

0 votes
Michael Andolfatto
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.
February 24, 2021

Hi @Timothy Lux ,

Does the issue on the board you are transitioning live within the project the automation rule was created for? I'm wondering if perhaps your board pulls in issues from multiple projects and is there for not triggering the rule.

Timothy Lux February 24, 2021

@Michael Andolfatto Thanks for the response. Yes, the board limits issues to just the one project, and this issue belongs to that project. The automation is also defined in the project -- so I know I am not running into some automation run limit.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events