Forums

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

Can I create custom report/plugin on cloud?

Daniel Wallace March 15, 2018

I've been trying to do a custom report that basically shows how many completed story points in a sprint, vs how many bugs were introduced and have a static line at say 10%.

 

At the moment, I have to hit the API, get my results, sort them all and enter them into Splunk. This is incredibly inefficient and I would like a nice, smooth way to do it, so I've decided to try and see if I could do a custom report or chart or something like that via a plugin or Atlassian Connect.

 

I've downloaded the connect dashboard example, though it loads up, I get the tunnel, it says it's installed, yet I can't see it on the dashboard, so there goes that idea

1 answer

1 accepted

0 votes
Answer accepted
Daniel Wallace March 21, 2018

This is no longer needed. I've decided to write a static plugin, hitting the jira api and using chartjs to graph my results

Cesar Sasaki
Contributor
November 29, 2018

Hi Daniel


Can you help me out or guide me out on how you did it?(For JIRA Cloud)

Daniel Wallace November 29, 2018

Hi Cesar,

 

This was a long time ago, though I can try as I still have my code and can figure it out.

Here are some links I read which got me started:

https://developer.atlassian.com/cloud/confluence/getting-started/

https://docs.atlassian.com/DAC/bitbucket/guides/getting-started.html

https://developer.atlassian.com/cloud/jira/platform/app-descriptor/

 

 

Here are a list of my files, in case you need a basic solution structure, though looking up atlassian-connect.json and hbs files should help:

public \ css \ addon.css
public \ js \ addon.js, chart.bundle.js, etcthumbnail.jpgroutes \ index.jsviews \ activity.hsb, layout.hbs, storypoints-vs-bugs.hbsProcfileapp.jsatlassian-connect.jsonconfig.jsoncredentials.jsonpackage-lock.jsonpackage.json

 

app.js is where the entry point for your plugin is and where it configures the add-on HTTP server

atlassian-connect.json is where it sets up where the plugin will be displayed in Jira, any post-install pages, etc.

config.json is where you set up local and on the cloud configuration

 

 

I didn't know javascript when I wrote this, so there might be a lot better ways to do it. If you need further examples or help, please let me know.

Like Cesar Sasaki likes this
Cesar Sasaki
Contributor
November 29, 2018

Hi Daniel!

Thanks, just to be clear (I'm very new to JIRA, been using RTC several years).
To create a custom report on JIRA Cloud, I need a server? or anything like that?

Also is Clonfluence the same as JIRA Cloud?

Daniel Wallace November 29, 2018

Hi Cesar, it all depends on what you would like. I just made a plugin to show a graph based on me selecting a sprint and a team, I honestly don't know anything much more than that I'm afraid.

 

However, as it's all cloud based, I imagine you wouldn't need a server of any kind and confluence is another Atlassian product, yes. More like a wiki type product for team collaboration and documentation

Suggest an answer

Log in or Sign up to answer