Create custom report using Adaptivist ScriptRunner

Hello

I am trying to create a custom report using groovy scriptrunner.


For e.g. I'd like to
1. Create a new report form with some inputs (I assume I can create such form as new script runner REST endpoint)
2. Place this form in a Project->Reports section (e.g. like standard reports - "average age report", "created vs resolved issues", ...) or as new gadget
3. Run report when submitting this form (I assume it could be realized as execute another REST endpoint from REST endpoint with my custom form).


At the moment I am able to create only a link in project section (using custom web item) and execute custom REST endpoint (my custom form) as dialog ("run code and display a dialog") or as a simple link ("navigate to a link").

Is it correct way to create a custom report?

Is it possible to place my form inside Project->Reports section (or may be as new gadget)?


Thanks,
Fyodor

scriptrunner - webitem.pngscriptrunner - restendpoint.pngproject - open report.pngproject - reports section.png

1 answer

1 vote
Alexey Matveev Community Champion Dec 29, 2017

Hello, 

You can not create a report using Scriptrunner.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

98 views 0 1
Join discussion

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