Neeed to develop a plugin in jira for report generation

My requirement is like if you click on our project in home page we get report in that list i need my own plugin after clicking in next page i shld see the project name,affectversion(drop down),fixversion(dropdwon) and after selecting next in third page the report should be generated based on this inputs the report shld have Components,Compelxity,Release,Key,Severity,class etc based on closed status.

please help out how to proceed with this report generation and the report page should also required to download in excel sheet

1 answer

Hi jobin,

In that java file is not like userfriendly i have already gone through this link

The flow of code is not understanable.

I'm afraid that is a very good document to start with developing a report. It's not really possible to simplify it more than that, without handing you code on a plate, and unless someone out there is feeling generous, that's not going to happen.

I suggest you do one of two things:

1) Pay someone to do the work for you

2) Try. Read the doc, follow it through without trying to implement anything you think you need. When you get to the end of it and have a working report, then go back and start changing it to make it do what you want. (Hint here - when I first did it, I stripped down the .vm file to nothing and then rebuilt it to what I needed, adding the java required to support it as I went).

When you get stuck, ask. Most people here are happy to help, as long as you're trying! Asking for someone to do the work for you for free is not "trying".

The problem is that with that three inputs values i.e project name,affectversion(drop down),fixversion(dropdwon) how can i generate the Components,Compelxity,Release,Key,Severity,class etc based on closed status.

In between i want to debug what i am doing is doing change and getting jar file by running atlas-run and every time i am stopping my jira and putting this jar and again starting jira this i am trying to do like trail and error.

I don't understand the question, it's not clear.

"three inputs values" is about the parameters you want to ask your users for when they run the report? If that's correct, then look at the "properties" section in the atlassian-plugin.xml

"how can i generate the Components,Compelxity,Release,Key,Severity,class etc based on closed status" seems to be nonsense to me, I can't begin to guess what you're asking. Put it in context - where are you expecting to see them on-screen, and what has status got to do with it?

Seriously, repeating what you said before is NOT explaining it.

I think I was right with the guess that you are talking about the parameters for your report. As I said before, this is handled by the "properties" section in your atlassian-plugin.xml

But, again, what does "following values ... based on closed status" mean? That is completely unclear and meaningless. Please explain, instead of repeating yourself.

Based on above three input values i.e projectname,affectversion(drop down),fixversion(dropdwon) if i click on next the report should genereate and that report should contain the following values Components,Compelxity,Release,Key,Severity,class etc based on closed status. i want to know i sthere any api of getting these custom filed values based on it


That is a filter, it's nothing to do with report parameters, unless you want to define a filter by taking the parameters and processing them through in your code as part of the report.

"Require 30 issues that contain cf parameter" is still complete and utter nonsense.

Can you please take a step back and think this through properly. Tell us the exact behaviour you want from the report based on how ALL the existing ones work.

Thanks for quick response.

i an trying to say for a particaular project say 40 issue among them 30 issues are closed state.i required these 30 issues that conatians the custom field parameter values(Components,Compelxity,Release,Key,Severity,class)

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

174 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot