What does "updated" JQL actually cover?

Ina Ivaylova August 10, 2017

I am wondering what does the "updated" actually means in JQL: Does it cover absolutely any change to the issue or is just some particular modification?

For example, if a user logs time under the issue, does that mean that issue was "updated"?

3 answers

2 accepted

5 votes
Answer accepted
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 10, 2017

Hello Ina,

"Updated"  does cover any change to the issue. And Yes logging work/time on an issue is covered by the "updated"

Ina Ivaylova August 11, 2017

Hi @Tarun Sapra

This is great, thank you.
Is there a way to specifically look for updates in the worklog/time?

For Example:
worklogDate >= "2017/08/01" && worklogDate <= "2017/08/11"

- Is this going to filter all updates on the worklog between those days?

CC- @Umer Saeed

Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 11, 2017

"Is this going to filter all updates on the worklog between those days?"

No, that's not the case. Because workLogDate basically means the "Date selected" while logging work - https://jira.atlassian.com/browse/JRASERVER-1959 

This date can be in future as well. So the JQL which you have shared will only fetch issues which have the workLogDate in the specificed time-period.

For example - You can log your work on an issue today and while logging work select the workLogDate as 20 August. So when you search using "updated" field like 

updated > startOfDay() 

Then you will get the issue which you updated with work log but if you try

worklogDate <  endOfDay() 

 Then you won't get this issue because you updated the issue today but the worklog date you selected is for 20-August

Ina Ivaylova August 11, 2017

Okay, got it. 
So WorkLogDate is not connected to the act of updating but to the content you write there. 
Good to know, @Tarun Sapra


So when it comes to updates, the only thing I can actually query using JQL is the overall update on the issue (using the "updated"). 
Do you thing there is any way to specify that we are looking into updates of a specific information, which in this case is whether the worklogs were updated?

Cheers

1 vote
Answer accepted
Umer Saeed August 10, 2017

'updated' specifically works for the following actions:

 

>

<

>=

<=

 

And you can use the preset functions for the timing periods, such as:

updated < startOfDay()

 

It doesnt really work for =, !=, is, is not, in, not in

And yes, it will be to find any action on the ticket that was updated within the given function timing period

0 votes
Harry Bob
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 31, 2020

Can you confirm if you're able to use 'updated' like below?

 

updated >= 5m 

 

I tried it but doesnt seem to work. Cant seem to find any documentation regarding it.

Hinnerk Mahnken September 22, 2020

Use -5m since its relative to "now" i guess

Suggest an answer

Log in or Sign up to answer