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!
Hello @Kimberly Rogers ,
Welcome to community. Please try this below.
status changed to Done during (startOfDay(-7), endOfDay("-7")) ORDER BY updated DESC
Thanks,
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.