Forums

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

JQL for getting issues for which developer has logged time and within specific date range

muhammad_mansoor September 26, 2018

JQL for getting issues for which developer has logged time and within specific date range

1 answer

1 accepted

2 votes
Answer accepted
Tarun Sapra
Community Champion
September 26, 2018
 worklogAuthor = tsapra and worklogDate > startOfMonth() and project = XYZ

As you see in the above query you can use workLogAuthor to mention user and workLogDate to mention date , you can also hard-code the date. If you wish to enter date range please use > & < operators with worklogDate field.

Valid formats include: 'YYYY/MM/DD', 'YYYY-MM-DD', or a period format e.g. '-5d', '4w 2d'.

muhammad_mansoor September 26, 2018

Your solution does not work for time logging in sub tasks. I want to get those stories as well in which user has logged time in sub tasks as well.

Tarun Sapra
Community Champion
September 27, 2018

Hello @muhammad_mansoor

This JQL query is issueTYpe agnostic thus it works across all issueTypes.

Can you share the JQL query which you are using. If you want to filter by types then just add that criteria to the above query.

muhammad_mansoor September 27, 2018

I used this query as a sub query in "issueFunction is parentsOf" and it worked like a charm.

Tarun Sapra
Community Champion
September 27, 2018

Glad to know @muhammad_mansoor that it works now. Script runner plugin does have loads of useful JQL functions. If you are satisfied with the answer please accept it so that others are also helped.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events