I need to get query for getting the list of JIRA in the same status for more than 2 weeks / 4 weeks. Edited

I need to get query for getting the list of JIRA in the same status for more than 2 weeks & 4 weeks.

 

For 4 weeks - I have used the query as - AND status = "In progress" AND not status changed after -4w .

For 2 weeks - I have used the query as - AND status = "In progress" AND not status changed after -2w .

But my question is I dont need the duplicate values of week 2 in week 4 ,

In short , the JIRA which are not updated after 4 weeks should only be present in 4 weeks dashboard it should not appear in 2 weeks .

1 answer

1 vote

Create a filter for the second query (2 weeks) and use it in one gadget.

For the 4 weeks query, update it with "AND filter != filer_name_or_id" where filer_name_or_id is the name or the id of the filter created first.

Hello Sir, Thank you for your support.

for 2 weeks I have created - Filter as an "two weeks" name using query -  AND status = "In progress" AND not status changed after -2w .

for 4 weeks I am using - AND status = Preparation AND filter != "two weeks" AND NOT status changed after -4w

But still I am getting the same JIRAs in the 4 weeks dashboard.

You mean you are still seeing the issues in the 2 weeks filter even after adding "AND filter != "two weeks""?

Can you paste your full query?

Hello Sir, 

Thank you for your feedback .

for 4 weeks I am using - AND status = Preparation AND filter != "two weeks" AND NOT status changed after -4w

the above query is working in JIRA , but when i go to create the dashborad of it in cnfluence its not working . 

Could you please help me here , why the query is not accepting in confluenece or do we have any other parameters for this ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,325 views 17 10
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you