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 do I use IQl statement with dates


i'm trying to automate a feature in insight that changes an attribuite called status when a specific time has passed without any updates i have tried using the Iql statement "updated <= now(90d). The issue I än having is getting insight to recognize when an objectyype havent been updated in a certain time period,  does any1 know how to write an Iql statement that works for this. 

1 answer

1 accepted

0 votes
Answer accepted

Hi @Fredrik Ottosson , 

Welcome to the community! 

You IQL statement does what it it supposed do do, but I don't think it is what you want. 
Your statement says: "Give me all objects that have been updated before 90 days in the future", which makes it of course every object you have. 

You might want to try this: 

"Updated" < now(-90d)

Which means, "Every object updated before 90 days ago"

Hope this helps! 

- Tessa

I did and it works now, many thanks Tessa 😀

Like Tessa Tuteleers likes this

Suggest an answer

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

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

482 views 3 7
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