Forums

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

Automation not pulling variable from earlier if statement

Wood_ Jeremy
Contributor
December 6, 2025

Hello, i am having some problems with my automation and variables and am looking for some help understanding why this isn't working. 

The first step in my automation is to create the variable. The Variable is set based on a custom field using a series of if else statements. In this picture the custom field was Application, so the variable should be "APP-{{Application name}}" (Atlassian-Test-Jeremy). The if statement works to cerate the variable and then logs that. 

The second step logs several pieces of information from the ticket that will be sent as part of a web request further down the automation.  In this step i try to pull the variable Group Name that was created in step 1, but it comes up blank. 

I tried adding a delay before step 2 and that didn't seem to do anything. 

automation.jpg

 

Before you ask, the 2nd Create Variable seen here is creating a different variable. Its not overwriting the one from step 1. 

0 answers

Suggest an answer

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

Atlassian Community Events