Seems like one of the first things that Jira should support is running an automation rule from a transition, but I can't seem to figure out how to do it.
I believe that I could do it the following way, but it seems like a total hack:
1) Create an automation rule which is triggered from an external webhook
2) Add a webhook to our system that points to the automation rules webhook
3) In the post function of the transition, run an "external webhook", which just points to our automation webhook. I'm not sure if the hooks are compatible though.
The issue is that it cant be associated with a specific transition, it can be associated with a start status and an end status, so if you have two “transitions” from one state to another, you can’t have the automation rule run on one of them.
I dont understand why Atlassian didnt make running an automation rule as an option for Post functions in a workflow.
I think they are aware of that situation and probably have it in their backlog to make the fix. First, realized that Atlassian didn't create the app - they acquired it in the last couple of years and their will be things to work through.
Second, what I do in those cases is set a value of a custom field that can then be used to trigger the rule instead of the actual transition. Should I have to do that? No. Does it work? Yes.
I hope that helps a little.
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event