Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Jira automation prevent duplicate branch creation

I have created an automation rule that creates a branch when a Jira task has been moved to in progress.

In the event that the task is moved back to the assignees TODO to fix a change and the assignee moves it back to their In Progress column again how to prevent the rule from trying to create the same branch again?

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
Nov 14, 2023

Hi @Dominick Marino 

There are several ways to do this, depending upon your rule structure.

  1. You could set a field, add a label, etc. to indicate the branch has been created.  And the rule could test for the absence of this indicator before proceeding.
  2. You could use the Send Web Request action to call a REST API function in your source control tool, checking if the branch exists before proceeding.
  3. You could use the JQL operator WAS IN and a condition to check if the issue was previously in the status: https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#WAS-IN

The first approach may be easy to try, and to make adjustments as needed.

Kind regards,
Bill

Ok, thanks. I will give these options a look and see what I can achieve.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events