You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi ,
I'm new to JCL and I want to query all issues by Label but only if those issues have been moved to the board.
I can't see in the documentation what field "Board" or "Backlog" are held in.
Can anyone help, please?
Many thanks
Andy
A board is not a container (and while we're talking about it, a backlog is actually part of a board, with the card display being a different view of a sub-set).
A board selects a load of issues it might work with. Issues do not "move to a board", the board selects what to work with based on the data on the issues.
Within the board, there are then further selection criteria depending on the type of board, with the backlog being "everything we haven't done", and the card board view seeing "the current sprint" if it's a scrum board and for kanban, "the stuff we've moved out of backlog to work on" or, if you have no backlog, everything that needs doing.
To work out what is on a board or backlog, you have to work through the same logic the board is doing. A really simple example of a scrum board:
It can be a lot more complex, but that's why there's no "field" for it.
So, for " issues by Label that are on the current scrum board", you could use "Project = ABC and labels = 'your-label' and sprint in openSprints()"
Thanks, I was using a Next Gen Project. For the time being I've added a custom field and then added that field to the JCL query. Then used the JCL Query filter in Dashboards etc which appears to be working. Thanks for your response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Andy Makings
Welcome to the community.
Are you using a Scrum board or Kanban board with your project
For a Scrum board, you would need to add a criteria to your filter to look for issues in the Sprint(s) that are displaying in your Board view.
For Next Gen kanban displaying an issue in the Board view is not simply based on the status of the issue. There is a step that must be executed to move the issue to the Board, from the Backlog. There have been several posts in this community about the inability to either automate the moving of an issue between the Board and the Backlog for a Next Gen Kanban, and about the inability to query based on that attribute of an issue.
In short, you cannot build a query that will retrieve issues from a Next Gen project based on whether or not they have been moved to the Board. Here is one such post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Trudy, I was using a Next Gen Project. For the time being I've added a custom field and then added that field to the JCL query. Then used the JCL Query filter in Dashboards etc which appears to be working. Thanks for your response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.