Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Transition issue status when branch is created

Tyler Brown-Jones June 8, 2018

Hi

I'm aware on how to change the issues status based on certain conditions, the part i am struggling with is catching that a branch has been created in BitBucket (Development section of an issue) and then using this as the condition.

hope someone is able to provide me with some code or docs to help me out.

 

Many thanks

Tyler

1 answer

1 accepted

2 votes
Answer accepted
Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 2018

Hello @Tyler Brown-Jones

Use triggers to solve this.

https://confluence.atlassian.com/adminjiraserver071/configuring-workflow-triggers-802592811.html

So you ll need to create transitions from source status to destination status with trigger

Tyler Brown-Jones June 8, 2018

Ahh brilliant, thanks Mark!

Tyler Brown-Jones June 8, 2018

@Mark Markov i also need to check that the remaining time is set to 0 too, as the transition will be from "in-progress" to "done".

Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 2018

@Tyler Brown-Jones triggers ignor all validators or conditions, but post-functions still executing. Triggers developed for different purposes.

As workaround i can suggest you to do script post-functions, that will check whatever you need and transition issue back if needed.

Suggest an answer

Log in or Sign up to answer