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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I match a ticket with the build successful trigger?

I am trying to transition tickets from from one status to another when an associated  build is successful.

However, I am unclear on how a ticket is matched to run the automation when a build is successful. None of my tickets are being matched, I can see in the audit log:

Action details:
Advanced compare condition
The following issues did not match the condition:
Where does the build need to reference the ticket in order to be matched? Is it the value in, or smart value only, or elsewhere?
The build is showing up in the above the "Development" section of the JIRA ticket as successful under the Github Actions section.
The TIC-3407 is in a commit message which is part of the branch that is being built. I assumed that if the appropriate build was showing up as part of the tickets development section, it was was associated and would work with the trigger, is this not supposed to be true?

3 answers

1 accepted

0 votes
Answer accepted

The TIC-3407 is in a commit message

This should automatically link the ticket and if you use the "Build successful" trigger.

As far as smart values go, the best way to debug is to add a "log action" and output the smart value to the logs to see the details.

We should have the "build" object available. You should try adding the debug 

Build: {{build}}
Name: {{}}
URL: {{build.url}}
State: {{build.state}}

Hope that helps!

Screen Shot 2022-05-12 at 1.28.47 PM.pngScreen Shot 2022-05-12 at 1.27.59 PM.png

I had only added build.url and build.refs, will be adding the rest of the smartvalues for the build object for further data.

I didn't realize that the branch smartvalue is only available for when the branch is created, so it was matching nothing. For the simple notification  in this example, I should just put a slack notification webhook in github action, but I had wanted to do other jira related actions when code related to jira tickets were merged into a branch. It does not like this functionality is available. 

0 votes
Stefan Salzl Community Leader Mar 30, 2022

Hi @Henry Yei ,

For better understanding and analyzing the problem:
Could you please provide more date? --> screenshot of your rule and audit log would be great to see what happens.


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events