Forums

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

How to find issues in which time is not logged and get it as a report?

Nijo S Thanjan November 7, 2019

In a project, there will be lot of epics, issues etc. If I need to find out in which all tasks team members has not logged, what should be the steps. 

2 answers

2 votes
Jack Brickey
Community Champion
November 8, 2019

Does the following JQL give you what you want?

timespent is Empty

you can add that bit to your more complete query, e.g. project = abc AND timespent is empty

0 votes
fran garcia gomera
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.
November 8, 2019

In the database you can get it quite easily

SELECT * FROM jiraissue ji
where ji.id not in (select distinct wl.issueid from worklog wl)

of course, you can filter to get only some project

AND ji.project = (select pr.id from project pr where pkey = 'PT')
Nijo S Thanjan November 8, 2019

Can you please elaborate the whole steps in detail

fran garcia gomera
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.
November 8, 2019

if you have access to the jira DataBase that query gives you the issues that are not present in the worklog table. 

You take the issues whose id is not in the list of issues saved in worklog table.

worklog table looks like this:

worklog.pngYou could also use simply something like this

SELECT * FROM jiraissue
WHERE (TIMESPENT is null OR TIMESPENT = 0)
AND project = (select pr.id from project pr where pr.pkey = 'PT')

But you could lose issues that had work logged and then it was removed (not a big problem usually but...)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events