You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Good morning, I need some assistance. I have a query:
project = xxx and status changed TO closed after -7d
Which has been working fine up to the date that our Org changed our jira workflow.
Tickets no longer "close" they "Deploy to Prod" - so I thought I could change the query to
project = hre and status changed TO "Deployed to prod" after -7d
However, I am getting hundreds of results that go back to last year.
I suspect that since the query is looked at the CLOSED DATE field but we are not using a CLOSED its not pulling back based on the 7 days I have in my query.
I would normally try "resolution" but, we add a resolution in the middle of the workflow once the work is "Dev Complete".
I've played around with some other scenarios but none seen to be working. Would love some suggestions.
thanks!
Hi @Kimberly Rogers ,
I would maybe look at the updated date in order tu pull only recently closed tickets, and also add a criteria DURING instead of AFTER :
updated >= -7d and status changed TO DONE DURING (startOfWeek(),now())
Let me know if this helps,
--Alexis
Unfortunatly this didn't work, status changed to "done" even when I increase the parameters, doens't pull anything - and if I changed to: status changed to "closed" or status changed to "deployed to prod" I get results. Seems to not like status changed to Done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Kimberly Rogers ,
Welcome to community. Please try this below.
status changed to Done during (startOfDay(-7), endOfDay("-7")) ORDER BY updated DESC
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got similar results as above. Doesn't seem to like status changed to Done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.