Run post function after a trigger event.

I have a trigger to change the status of an Issue when a pull request is merged in Stash. Is there a way to run the Post functions after this automated transition occurs? Maybe using a Plug-in?

3 answers

1 accepted

This widget could not be displayed.
Pedro Cora Atlassian Team Jun 10, 2015

Would it be possible to do that using the JIRA Automation ( that can be used to grab events and do automated actions.


-- Pedro

Thanks! That worked like a charm!

This widget could not be displayed.
Steven Behnke Community Champion Jun 10, 2015

I don't see why you need an add-on: A transition (or action) that is fired by a integration trigger should still fire post-functions, should it not?

@Jason Trinidad, are you having issues attaching a post-function to this transition that is fired from a trigger? I've only used triggers minutely but it was my understanding that those post-functions should still fire.

This is on the Jira page: "Triggers are events which initiate an automatic workflow transition for a JIRA issue. Examples of triggers are pull request creation, or code review rejection. Caveats: Conditions, validators, and permissions will be ignored for automatic transitions but operate as usual for manual transitions. Global transitions can be automated with triggers, if you follow some simple guidelines. Read our best practices page on automatic issue transitioning. Send feedback on triggers." I managed to get it working using the JIRA Automation plug-in.

Steven Behnke Community Champion Jun 15, 2015

Are post-functions ignored though? You didn't list them in your copy-paste.

This widget could not be displayed.

Thanks for asking. I had the same question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

34 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you