Forums

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

What's the proper insight IQL rest format for updated > x date?

Chad Peters
Contributor
May 9, 2018

I'd like to pull back, from the Insight REST API objects that were updated since x date. I can't seem to get the REST call correct. Can someone tell me what the format is for dates in the REST call or point me to some relevant documentation?

Example of what I've tried:

https://jira.hbk.com/rest/insight/1.0/iql/objects?objectSchemaId=6&iql=ObjectTypeId=104%20AND%20Updated%3E=%271/May/18%2009:34%20PM%27

1 answer

0 votes
Ola_Melin
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.
May 16, 2018

Hi Chad, 

 

The format is interpreted as the settings you have configured in Jira. If you are using the standard format the way you have put it looks correct with the difference that you should use " instead of ' around the date. 

This is a working example

rest/insight/1.0/iql/objects?objectSchemaId=89&iql=Updated%20>%20"08/Feb/18%2010:37%20AM"

 

Cheers 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events