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 (https://marketplace.atlassian.com/plugins/com.atlassian.plugin.automation.jira-automation-plugin) that can be used to grab events and do automated actions.

wink

-- 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted an hour ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

10 views 0 2
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