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
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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

37 views 0 4
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