Get A mail based on Date of Object and Reference

How shall I write the IQL so that it looks on the Attribute "Besigtiget" <Data> and  "Intervaler" <Integer>. I want an mail every time "Besigtiget" is passed with the amount of Years given in "Intervaller"? 

1 answer

0 vote

Hi Susanne,

It's not possible to create IQL like this. What you could do as a work around, would be to have an scheduled automation triggered based on the now() iql function, set this for an specified amount of days or weeks. When you then have objects matching this IQL, you can trigger what is needed, and also trigger an groovy script, that updates the Date value for the mentioned attribute so it can be re-triggered in the future.

You can read more about IQL at https://documentation.riada.se/insight/latest/insight-user-s-guide/iql-insight-query-language

There is an example on how to update object attributes using groovy script at https://documentation.riada.se/insight/latest/insight-for-developers/groovy-script-examples/automation-script-examples/update-an-object-attribute

And more on Automation at https://documentation.riada.se/insight/latest/insight-manager-s-guide/insight-automation

Best Regards
Alexander

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

849 views 2 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you