Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating an Atlassian Connect report module for a board

Craig Drayton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 27, 2019

These docs describe how to define a report in your Atlassian Connect plugin for JIRA:

https://developer.atlassian.com/cloud/jira/software/modules/report/

However these reports are created within the context of the entire project rather than the context of a specific board (even for reports with a reportCategory of 'agile' or 'AGILE').

Only project.key and project.id are available to the add-on. When I add board.id to the url in the descriptor, it is left undefined.

How can I create a report for a board, consistent with most of the existing reports under the "Agile" category?

1 answer

1 accepted

0 votes
Answer accepted
Daniel Wester _55 Degrees_
Contributor
December 28, 2019

You might want to ask over at the Developer Community https://community.developer.atlassian.com

But there isn’t probably a good answer since reports are usually attached to the project (but with next gen projects - the boards seem to be heading that way as well)

Stefan KAHLERT April 7, 2020

Adding to that I would suggest to simply ask in a dropdown for the board you want to generate the report to.
If you use this: /rest/agile/1.0/board?projectKeyOrId=${projectKey} you can get a list.

In most cases you will only get one board in the response. In that case you can simply take that one as the selected board and hide the dropdown selection.

The other way to directly link a feature to a board is the web-sections, from what I can tell:

https://developer.atlassian.com/cloud/jira/software/boards/

From there you can link your report directly.

Sanjeev Pande
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 12, 2020

Hi @Daniel Wester _55 Degrees_  @Stefan KAHLERT 
Does this module ("jiraReports") work for next-gen projects ?

Stefan KAHLERT May 12, 2020

Hi @Sanjeev Pande 

No, it does not seem to work yet. I asked the same question here.

Suggest an answer

Log in or Sign up to answer