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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,203
Community Members
 
Community Events
184
Community Groups

Done and was Done

Hi there,

I tried a simple filter to look up all the ticket was in "Done" and now is "Done" and something it only show those that are now Done but not was "Done". What did I do wrong?

==============

project = "XX" AND status = Done AND createdDate < endOfMonth(-1) AND createdDate >= startOfMonth(-1) OR project = "XX" AND status was in (Done) AND createdDate < endOfMonth(-1) AND createdDate >= startOfMonth(-1) order by priority DESC, created ASC

==============

Thanks for solving the mystery in advance.

Regards

MM

3 answers

1 accepted

0 votes
Answer accepted

Hi Guys, 

Got a solution from Jira so posted back here for sharing.

Apparently I need to locate the status ID and replace the actual word "Done" with the ID number then it works perfectly fine :) 

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2023

Great!!

Actually tried out the other one also did not pick up any status "was", perhaps its a known bug?

 

project = "XX" and status was in ("Review") AND createdDate < endOfMonth(-1) and createdDate >= startOfMonth(-1) order by priority DESC, created ASC

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 23, 2023

Hi @Mimi Peters 

Straight out of Atlassian's documentation:

The "WAS" operator is used to find issues that currently have or previously had the specified value for the specified field.

So your JQL should be

project = "XX" AND status was in (Done) AND createdDate < endOfMonth(-1) AND createdDate >= startOfMonth(-1) order by priority DESC, created ASC

Hi Alex, I tried this just now and it said no issues were found matching. I deliberately change one of last month ticket's status from "Discard" to "Done" and then back to "Discard" so that should pick it up.

Will this have to do with "Resolved" ticket as this Team managed jira I have automation in place to resolve the ticket? 

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 27, 2023

@Mimi Peters can you try the following?

project = "XX" AND status was "Done" AND createdDate >= startOfMonth(-1) AND createdDate < endOfMonth(-1) order by priority DESC, created ASC

status was.png

Hi Alex, I copy and paste with your comments and only replace XX with my project name and its not showing. I believe it could be to do with Resolved as I do have an temp.jpgautomation rule in my Team managed project to change to Closed.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events