Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • What syntax can be used to filter problem lists with resolution time within 3 days and 7 days respec

What syntax can be used to filter problem lists with resolution time within 3 days and 7 days respec

chengcheng zhang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 13, 2022

What syntax can be used to filter problem lists with resolution time within 3 days and 7 days respectively (is the Created time to the Resolved time)

1 answer

0 votes
Bill Sheboy
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 Champions.
November 13, 2022

Hi @chengcheng zhang -- Welcome to the Atlassian Community!

You cannot query issues that way with JQL.  It is not a SQL and so does not support such dynamic calculations on fields.

Some possible work-arounds depend on the frequency you need to do this and your desire to spend money/time:

  • Need this infrequently: export the issues to a spreadsheet and perform the calculation there
  • Need this more often, and can spend money on addons/apps: investigate the Atlassian Marketplace and purchase addons/apps to extend the features of JQL or improve the reporting
  • Need this more often, and cannot spend money on addons/apps: there are several other options...
    • add a custom field to track resolution time, use an automation rule to set the field, and then you can search/report on it
    • using whatever existing tools you have, build an application which can call (i.e. pull) the REST API to gather issues and perform the reporting
    • using whatever existing tools you have, set up a webhook to push the data out of Jira as it changes to support your reporting

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events