Hi everyone I'm after a bit of help if possible.
I'm trying to write a code using JQL to find any Story issue types that have a green "RAG Status" but a Sub-task on the Story has a red "RAG Status"
It feels like it should be a fairly simple one but I just can't seem to get the coding right
Hello @Keith Shipman
Could you elaborate more about these green and red statuses? In Jira, statuses can be grey (To Do), blue (In progress), green (Done). Is the RAG-Status a label instead?
Hi Nikola thanks for replying.
The RAG status' we use are in the "Details" side of the card and are a drop down option when you click into it.
This is what it looks like if that helps:
For us Green is on track, Amber is slightly off track and Red would be seriously off track and causing a considerable risk. We'd also use Blue for Completed/Delivered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So this is actually a drop down custom field and you want to have these options to be colored. I'd recommend Awesome Custom Fields app from Atlassian marketplace. Jira doesn't have the functionality to add the colored dropdown custom fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah sorry Nikola I'm not sure if I managed to explain it correctly.
The colours are fine, I'm looking for some help with the coding to identify any Story issue types that have a Green RAG status on the card but a linked Sub Task has a Red RAG status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
unfortunately, this is trickier than one might think; as a "hierarchical query", it would really require some kind of join or subquery, which isn't available in plain Jira/JQL.
A few directions forward:
If you want to run your search dynamically, without manually stitching two queries together, you'll need extra tooling:
Hope this helps,
Best,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
... and just to expand on my last point, this is how this could look in the app that my team and I are working on: JXL for Jira.
Put simply, you'd create a sheet with all issues that are potentially relevant to you, enable the default issue hierarchy (that's just one click), and then use JXL's filtering capabilities to narrow down to the issues that you care about:
Once you have your list of issues, you can work on these directly in JXL (much like you'd do in e.g. Excel or Google Sheets), trigger various operations in Jira, or export them for further processing.
Any questions just let me know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.