Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to compare a smart value variable?


the use case is that an API calls come via an incoming web hook.

for security, it contains a key as an identifier. im parsing the key value into an automation variable, then i make a comparison, but i cant get it to work. it passes even if the key passed into the value is not the expected key.

in the image below, the first line of the log shows the incoming webhook data. the second line shows the extracted key. the left panel shows that its the APIkey variable that is printed in the 2nd line of the log, followed by the comparison.



this are the details of the comparison


1 answer

0 votes
Darryl Lee Community Leader Dec 03, 2021

What is "passing" in your If rule? That is to say, what action are you trying to gate? What is the THEN to go with your IF?

I wonder if maybe your If rule is flipped the wrong way, and you meant to do:

Screen Shot 2021-12-03 at 11.02.32 AM.png

Also, if you're trying to match exact text, you should use "equals", not "exactly matches regular expression"

It also might help if you can explain the bigger picture of what you're trying to do.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

609 views 21 25
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you