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 to find issues in which time is not logged and get it as a report?

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

1 vote
Jack Community Leader Nov 08, 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

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')

Can you please elaborate the whole steps in detail

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
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

303 views 1 3
Join discussion

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