Hello,
I want to make the bug report monthly wise which includes following keypoints-
I want these two things to be there in my bug report
Can you please help me how to do that?
Hello @Jatin Aggarwal !
As I understand, you want to create a page that reports tickets created within a certain timeframe and also shows tickets closed within another specific time frame.
I can jump straight into saying that this is possible by using Jira Macro in Confluence and some Jira Query Language (JQL).
Here is some information about this macro:
Let us look at the JQL that takes care of your first request:
created >= '2020-05-01' AND created <= '2020-05-31'
This is filtering for tickets created between May 1st, 2020, and May 31st, 2020. Since you need to look for bugs only, we can write the query like this:
created >= '2020-05-01' AND created <= '2020-05-31' AND type = bug
This will display only tickets with the type set as bug in Jira. The type = bug can be altered to fit any other ticket type you might need to look into.
For us to look into tickets resolved within any given time frame we can use this:
status changed to done AND updatedDate >= '2020-05-01' AND updatedDate <= '2020-05-31'
The “status changed to done” part of this query can be altered to fit any other status that you might need to look into. Here is some more explanation on Jira statuses:
Since you need to look only at bugs, we can use this query:
status changed to done AND updatedDate >= '2020-05-01' AND updatedDate <= '2020-05-31' AND type = bug
Both filters can be altered to look into any given time frame, as long as dates follow the YYYY-MM-DD format (Year-Month-Day).
For more information about Jira Query Language operators, you can look here:
For short:
Use this to look at tickets with any given type created between X and Y date:
created >= 'YYYY-MM-DD' AND created <= 'YYYY-MM-DD' AND type = desiredIssueType
Use this one to look at which tickets with any given type have been closed between X and Y date:
status changed to desiredStatus AND updatedDate >= 'YYYY-MM-DD' AND updatedDate <= 'YYYY-MM-DD' AND type = desiredIssueType
Here is what both filters in a Jira Issues macro look like for me. Please, keep in mind that I am not using the “type = bug” part of the query:
I hope this helps! Looking forward to your reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.