Hey!
I've written a plugin for JIRA and created a report (similar to this: https://developer.atlassian.com/server/jira/platform/creating-a-jira-report/). Now I'd like to include this report (and many others) in a dashboard.
I've tried creating a Dashboard Item (https://developer.atlassian.com/server/jira/platform/writing-a-dashboard-item-app/), but I'm unsure whether it would be a good practice or even possible to fetch the report via soy template..
Any suggestions on how to include a report in the dashboard, without code duplication and performance penalties would be highly appreciated.
Hello @tom-42mo
They have very different architectures (servlet, REST service and xml and soy template etc). I generally implement a single service to generate report data and use this service both in gadget and report. I'm afraid, UI layer should be written separate.
If you find any better solution, please share ;)
Cheers
I'm afraid I'm going to go for the way you suggested. Just wanted to make sure there's no other sensible way to do this. Thanks for the confirmation ;)
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.