Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Retrieve the newest date

José Agnaldo B_ de Sousa May 6, 2020

Hi, I need a query to retrieve the issues that status changed to 'WCA' between the last 30 and 60 days

Note: In the example below, i had issues that has 2 lines with status changed to WCA and i need to use the date of the last line.

STATUS CHANGED FROM     STATUS CHANGED TO                    DATE
Resolved                                Waiting Customer Acceptance       01/12/2019
Resolved                                Waiting Customer Acceptance       20/04/2020

Thanks

2 answers

0 votes
Zoryana Bohutska _SaaSJet_
Atlassian Partner
May 8, 2020

Hi @José Agnaldo B_ de Sousa 

You can consider add-on Issue History. It will let you view all issues which had changed statuses. To filter data only by two statuses you need, you can use export and then "play" with data at Microsoft Excel or Google Spreadsheet. I don't sure that it is what you need, but if you haven't other solutions, you can try it.

5.png

Regards

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 6, 2020

Hello @José Agnaldo B_ de Sousa 

You can try this :

status was changed to "Waiting Customer Acceptance" During (startofday(-60), endofday(-30))

This will show all issue that was to "Waiting Customer Acceptance) during the period you want. It will only retrieve the last time the issue was in this status.

 

Hope this helps

José Agnaldo B_ de Sousa May 6, 2020

Hi Mohamed, thank you for the response but an error has occurred:

error.PNG

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 6, 2020

Sorry it's only status was "your status"

José Agnaldo B_ de Sousa May 6, 2020

Thank you

I did this query to retrieve issues between 1 and 2 years but in the case bellow returns the issue with these dates, the last date is no more than 1 year. 

Status Changed From     Status Changed To                      date
Resolved                         Waiting Customer Acceptance    02/04/2019
Resolved                         Waiting Customer Acceptance    08/07/2019

status = "waiting customer acceptance" AND status was "Waiting Customer Acceptance" During (startofday(-730), endofday(-365))

José Agnaldo B_ de Sousa May 7, 2020

@Mohamed Benziane

any idea to my problem ? it looks like it didn't work what you said above.

"It will only retrieve the last time the issue was in this status".

thank you very much. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events