Forums

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

Need help excluding just one of the GitHub repos for a team managed project automation

Kelly Lillis
Contributor
December 17, 2025

I have an automation set up that is working great for the most part. It simply adds the next fix version to work items when a PR is merged.

 

I want to exclude adding the fix version for just 1 of the 3 Github repositories we merge to from this project.

 

How do I set up this condition?

 

I've tried comparing two values and I am doing something wrong.

 

This is team managed

image.png

1 answer

0 votes
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 Champions.
December 17, 2025

Hi @Kelly Lillis 

Please try adding the sourceBranch or destinationBranch to the smart value expression before checking for the repository.name:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/#--Pull-request--

I recommend moving the condition outside of the trigger, writing the value to the audit log, confirming the exact expression, and then moving it back.

 

And if that does not help, this could be one of the read just-in-time smart values...potentially leading to timing problems in the condition in the trigger.  The way to solve that is to again remove the condition from the trigger, use the Create Variable action to save the smart value, and then use that variable with the Smart Value Condition to test it.

 

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events