I am trying to build a filter to run a subscription on. The parameters are:
The last item is giving me problems. I would like to state is not 1 of 5 different statuses out of 11 total in the workflow, then if it is another 1 of the remaining 6 statuses, it must have been updated within the last week.
Here is my query:
project = IM AND issuetype = "Client Implementation" AND labels = VHA AND (Status not in ("Declined Training / Live", "Client Cancelled", Closed, "Implementation Cancelled", Duplicate) OR (status = Live AND updated > startOfWeek(-1)))
All statuses in workflow are:
So, the goal is to display all tickets with project IM, issue type Client Implementation, label VHA with statuses Open, Assigned, Welcome Package Sent, In Training, Training Complete/Not Live or Live (but was updated within the last week).
I've tried the following to the query above:
Any help you can provide would be greatly appreciated.
I'm not absolutely sure I understood the query, but I'll help you the way I understood. I'll ignore the first 3 parameters, as you got them cover.
First of all, the 'OR' there is a problem, as by your description, the issues must not be in any of the six statuses.
After that, it seems that if it's in a specific status of the remaining ones, it should have the 'updated' field as you defined.
I'd create something like this:
<other conditions for 1 to 3> AND (Status not in ("Declined Training / Live", "Client Cancelled", Closed, "Implementation Cancelled", Duplicate)) AND ((status != Live) OR (status = Live AND updated > startOfWeek(-1))
This way, it won't be in any of the status you wanted to removed and if it is in the Live status, it will have to be updated after the start of the week.
I hope it was helpful.
Jaime Kirch da Silveira
Atlassian Cloud Support
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot