How can I find Boards / Filters relating to a specific project

For any given project within JIRA is there an easy way of identifying all the Kanban or Scrum boards associated with it (if there are any)? I appreciate that a board's filter doen't need to contain a project name (it could for example just show all issues of type 'Bug') but if it's easier I'd just be interested in boards (filters) where the project name is part of the JQL.

If there isn't an 'easy' way to achieve this does anyone know the SQL that I'd need to run to find this?



5 answers

1 vote

There is no "easy" way to do it because they are not directly linked.

 SQL isn't going to help either.  The filters are stored in a format such that your SQL boils down to "give me a list of all the filters so that I can read each one and interpret whether it might contain a project in its results".  Most of them will be "project =" or "project in", but you're bound to have users like me who do things like "all bugs where I participated" (all projects that have bugs in their issue type scheme) or "... and category = xyz" (covers a set of projects without naming them directly)

If you go into any Issue associated with the project, you can click on "View on Board" on the lower Right of the Issue Screen, and it will show you all of the Boards that the issue is associated with. It's a roundabout way, but it works.

"View on Board" on the lower Right of the Issue Screen is helpful to some extent.

However it may miss some boards.

for instance: Issue Type = Story, Status = RELEASE. "View on Board" link shows 2 Scrum boards:

  1. project = ABC ORDER BY cf[12700]
  2. project = ABC ORDER BY cf[12701]

But it is missing two more boards:

  1. project = ABC AND issuetype = Epic ORDER BY Rank ASC
  2. project = ABC and status not in (closed) Order BY Rank ASC

Perhaps it misses only Kanban boards.

Full list of boards is available on any board screen under the project's icon on the top left corner and represented as (...) button (JIRA 6.4.10)

To get at least a 95% list of boards for a Project you can try this SQL:

select b.NAME as boardname, f.filtername, f.reqcontent from AO_60DB71_RAPIDVIEW b, SEARCHREQUEST f where b.SAVED_FILTER_ID = and reqcontent like '%YOURPROJECTKEY%'

The REST API offers a (rather tedious) way.

Get all boards with this call: 

GET /rest/agile/1.0/board (Doc)

Then for each board returned get the projects for each board: 

GET /rest/agile/1.0/board/{boardId}/project (Doc)

The response will include project info:

 "self": "", "id": "10000", "key": "EX", "name": "Example",

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

633 views 0 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you