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

1 vote
Accepted answer
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!

0 votes
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.

Thanks for asking. I had the same question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,728 views 17 21
Read article

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