Forums

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

How to get the trigger information to use in an IF statement

Adriano Andrade
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2023

I'm trying to create an automation that will update a parent issue in the case of a Worklog is Created or Deleted. 

I have an Automation that is triggered when my Worklog is Created and Deleted as we can see in the screenshot, and I would like to have an if that will test what triggered the event. 

Is there a way to do that? Do we have a property that tells me if the Worklog is being created of deleted?

Jira_Support_01.png

1 answer

1 accepted

0 votes
Answer accepted
Gideon Nolte _Eficode_
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.
August 11, 2023

Hi @Adriano Andrade

you can use the {{eventType}} SmartValue for that.

Just configure your rule like this:

image.png 

Hope this helped.

Greetings 

Gideon

Adriano Andrade
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 11, 2023

Hi Gideon, 

It did work perfectly, thank you so much for your help. 

Best, 

Adriano

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