Forums

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

JQL query to search for all issues that have been evaluated after a specified time at the latest

Jasmin Bohlen
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!
July 8, 2019

Hello together,

After each sprint we want to search for all issues that have been evaluated maximum 5 days after they were created.

I've  been thinking about two options:

1.

Label the issues when they have been evaluated and after that search for all issues where (Date the issues were labelled - Creation date) < 5days .

2.

Set an End-Evaluation Date Picker and after that search for all issues where (End-Evaluation-Date - Creation Date) < 5days.

 

Is one of the options possible, if yes- how can this be realized with JQL?

Thank you very much!

2 answers

1 accepted

0 votes
Answer accepted
Antoine Berry
Community Champion
July 8, 2019

Hi @Jasmin Bohlen , welcome to the community !

Out of the box I do not think this is possible. However you could use an app such as ScriptRunner to auto populate the Evaluation date custom field. Two ways of doing that : 

  • Have a postfunction/listener that sets automatically the value of the field
  • Have a behaviour setting the date on the screen of the evaluation transition

Then you could use the dateCompare JQL to compare creation date and evaluation date.

Antoine

0 votes
Tomas Gustavsson
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.
July 8, 2019

Hi,

i think you should be able to do something like this.

first you need to create a date field e.g End-Evaluation.
then create a JQL filter somewhat like this,
project = "your project" and createdDate <= "2019-07-01" and "End-Evaluation" <= endOfMonth()

 

or you can use any of the other functions available below. 

image.png

you can find more information about advanced searching here
https://confluence.atlassian.com/jirasoftwareserver073/advanced-searching-fields-reference-861256237.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events