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
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.
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.
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()"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.