Create
cancel
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

IQL statement to trigger email when a value changes

I am trying to use the Automation to send an email notification when a value changes for an object.  Specifically when an asset is transferred to another location.

Looking at the IQL documentation and so far nothing is jumping out as a search for when something was changed for a specific attritbute.

Any help would be greatly appreciated.

2 answers

Found it:

"Site" IN ("Site 1","Site 2","Site 3","etc") AND “Updated" <= now() AND "Updated" > now(-3h)

This is not finding what I thought it is.   am looking for it to find only  objects were the the attribute 'Site' is changed.  This IQL is finding all objects that have ANY attribute updated 

ObjectType = 'Site' Updated > "now(-2h 15m)" 

Had the green check mark until I ran it.

Error: IQL "'objectTYPE = 'Site' Updated > "now(-2h 15m)"" has invalid syntax at position 21 with error message "mismatched input 'U' expecting {<EOF>, ' '}"

 

Position 21 is right at the beginning of 'Update'.

Now that I think about it, 'Site' is not an object type but an attribute.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

656 views 5 12
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