Is there a way to pull a report on all boards associated to our projects?
If this is isn't possible then can we use JQL to pull it out?
Hi Khushboo,
No, you are not really going to be able to do what you are looking for. There is a Location field associated with Jira Software Company-managed project boards, but it only allows a single project to be identified even though the filter used by the board might include multiple projects.
So the projects associated (used?) by the board is all based on the filter used by the board. And the filter may not even identify projects. For example, if the board filter was simply: assignee = khushboo_puri, then potentially ALL projects in your instance are used by the board.
What is it that you are actually needing this for?
I was thinking about the 'Location' element as well, but does that exist in Data Center? I believe I've only seen it work on Cloud that way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, hadn't noticed the Data Center part @Hans Polder _Devoteam_ - thanks for pointing that out. But that makes it even a little more questioning as to what he is trying to achieve. Maybe we will find out soon. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @khushboo_puri ,
Can you give a bit more context to what you're trying to achieve? Do you mean that you're looking for boards that have a certain project in their filter? Or, something else? :)
Generally speaking, JQL is only used to identify a set of Jira issues, not any other entity (like projects, boards, etcetera). My first guess would be that we could figure something out using the Jira REST APIs, however you need to share a bit more context before I could attempt to help you there :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct...We need to do a board cleanup, and have not found a way to pull this data.
Can we also know who are admin of those boards as well.
So we need board names and admin of boards that have certain projets(5-6 projects)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @khushboo_puri ,
I think it will be pretty complex, if even possible. As @John Funk stated in his answer, the only way to identify boards related to projects would be to check the JQL that the board filters are using. And that is not fool proof, since you can also include projects by searching for components that might be used in those projects.
So, it will definitely not be a fool proof solution. Any reason you would want to do this? If the boards need to be deleted, you could also just simply archive or trash the projects, which should stop any boards showing any information from these projects.
You could try a script that uses a heap of API endpoints to try and identify this (by getting the Filters in your instance, finding out if they are attached to a board, filtering them down to (hopefully) only show the relevant boards, then maybe be able to identify those. (more documentation here: The Jira Data Center REST API (atlassian.com))
I would not spend too much time on this and rather try other approaches to make boards essentially defunct, without actually removing the boards themselves. As mentioned, you can likely achieve that by removing projects themselves, or finding the filters using API, opening them manually and setting their View/Edit permissions to private. Any boards based on those filters will then seize to function since nobody will be able to see the board, at all.
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.