Export data from JIRA into Excel dynamically - excel

I am using JIRA and in each sprint i do some steps to export file from JIRA and copy-paste it in Excel, and then apply my functions on it. This takes me a lot of time so i would like to automate all this steps using Excel.
So, is it possible to export data from JIRA into Excel dynamically ?
Is there a way to do that please?
Thanks

You can export search results directly to Excel: navigate to Issues -> Search for Issues, and run you search. After that you can click on Export -> Excel (All/Current fields).
If this option is not available for you, you can export same search results to CSV file and Excel should be able to import it.
Please, refer to official documentation for more details.
If that is not what you are searching for, please specify your requirements more precisely.

See related answer here. You can export a filter to a csv file with a curl command. You can call this command via Shell in VBA. Then postprocess the output file with vba to integrate the data in your final report file.

Related

I am looking for an example to collect GA data from Excel using VBA

I have tried to find a way to get Google Analytic data into my Excelsheet using VBA, I can find a lot of information, but it seems to be either depricated April 30 2015 or comercial, and I only want it for my private project...
The best point I have found is this:
http://analytics.blogspot.se/2009/08/analytics-data-in-excel-through-our-api.html
Right now I collect data from GA as a csv file, add my VBA script and run my function, but it would be a lot nicer to be able to collect it directly from my workbook...
Frankly I think Selenium is your best chance for automated collection of data from GA. It could work as follows:
Create a simple Python script where Selenium downloads the csv file from GA
From your workbook run the script using Shell ("python your_script.py")
Next upload the csv file to your workbook e.g. via ADODB.Connection
Google Sheets has a really user-friendly and feature rich integration with GA via the Google Analytics Spreadsheet add-on. You can run regular, automated reports this way and export as CSV if you like.

Load XLS with ComponentOne C1XLBook and output as PDF?

I would usually use a C1Report to generate my reports which are generated on a server and saved as PDF. In this case the report really needs to be based on an Excel spreadsheet so I am using C1XLBook to build the data in the required format. However, I can't work out how to export this as a PDF file. Possible? The C1 forums seem to be done at the moment so I can't post over there.
Thanks
Jeff
1.Loading a XLS file with C1XLBook :
System.Diagnostics.Process.Start(#"c:\mybook.xls");
or
c1XLBook1.Load(#"c:\mybook.xls");
2.Output as PDF:
C1Excel doesn't provide the feature to export to pdf.
see here
.
However ther is a workaround mentioned here:
You may try using the following approach:
1. Load the excel file in FlexGrid.
2. Capture the image of the displayed flexgrid, please refer to the following link that describes the same:
http://our.componentone.com/2011/04/19/control-rendering-in-print-document/
3. Once, you have the image you can save the same to Pdf by using the DrawImage method of c1PDF. Please refer to the following link that describes the same:
http://helpcentral.componentone.com/nethelp/c1pdf/index.html#!XMLDocuments/Reference/html/M_C1_C1Pdf_C1PdfDocument_DrawImage_2_7dee50e8.htm

Dynamically create a MS Word report using a JIRA charts?

Each month I have to manually create a report for my team. For this I use a combination of numbers generated from a groovy script I've written, screenshot, cut & paste from a series of charts in our JIRA instance and cut and pasted excel charts.
I'm finding it more and more boring to do this by hand and I suspect that there is an easier way to automatically generate this report. I can generate the word document with data from the groovy script using this application (http://www.docmosis.com/) but I have not yet found a way of auto including JIRA charts in the generation or excel so my question is:
Is it possible to generate a word document that contains generated data from various sources including (in order of importance):
JIRA charts
Programmatically generate data and
Excel charts?
As you already coded your logic in Groovy, best would be skipping the Excel step and generate your report directly from JIRA using the JIRA PDF View Plugin. This plugin will reduce your work to a single click and download you a nice PDF document (PDF is more portable than Word docs).
These short tutorials help you:
Reuse your Groovy scripts for reporting logic (also see the "Charts" tutorial there)
Bring the data, charts and the template together
Update 2 years after my original answer:
JIRA PDF View Plugin 3.5.0+ can also export JIRA charts (gadgets in JIRA dashboards, to be precise). So, now you can execute your Groovy scripts, include JIRA charts and bring all the result together in a professional PDF document.
Even better, now there exists a free plugin that will make the monthly process 100% automatic for you! It will generate your PDF document and send that to your team members' mailboxes, according to the preferred schedule (CRON trigger).
Related tutorials:
Exporting JIRA dashboards to PDF
Automating JIRA PDF exports
Discl: I'm a developer working on these products, yet this is the best solution to your problem. :-)
Most of the charts generated in Jira are created from data returned from search results. So you can get data from Jira using REST or SOAP api and generate your own charts by other means.
I am not sure if there is a no-coding method of doing it. But I would write a C# program that adds data to the Word template from your sources (Jira, other programs, Excel). And would create a template that generated charts from inserted data.
For Word document generation I would have a look here -http://www.codeproject.com/Articles/20287/Generating-Word-Reports-Documents
For chart creation in the document I would have a look here - http://office.microsoft.com/en-us/word-help/create-a-chart-in-a-document-HP005190046.aspx
Easiest if you convert your JIRA chart to an image first. When you say JIRA chart, do you mean something from this plugin?
Once you have an image, your document generation tool ought to be able to include that.
There are many document generation tools which can include programmatically generated data, and some of those can include Excel charts.
There is now a JIRA plugin to generate charts in Word documents which may help you.
https://marketplace.atlassian.com/plugins/com.clariostechnology.officecharts.officecharts
There is now also Intelligent Reporter for JIRA which is a no-code method for creating word documents from your JIRA data, including native Word charts with full formatting from JIRA data.
https://marketplace.atlassian.com/plugins/com.clariostechnology.intelligentreports
Disclaimer: I work for the company that created this plugin. If there is anything you need that it cannot do, please let me know.

Generating multiple sheets in a single excel document using Grails Export plugin

I'm using Export plugin for Grails(http://www.grails.org/plugin/export) to generate excel sheets. Now I need to create multiple sheets in the same Excel document and if possible, name those individual sheets. Searching around in internet, couldn't find any solution to this problem. Can someone please help on this?
thanks
There looks to be no way of doing this currently with that plugin.
Your best bet would be to add it as a feature request on the JIRA for that module -- or better yet -- take the module, add that functionality and submit a patch to the JIRA.
Or you're going to have to look for another way of exporting XLS data.

Issue search and excel export for JIRA, outside JIRA

I'm looking to download a list of issues from our JIRA issue list, to process further in VBA and generate a report from the issue list. I want this process to be automated from start to end so e.g. I run a java or VB or C# program, which does a search and download from JIRA (somehow) then runs a VBA program to extract and format the issues into a report. Is there anyway this can be done? I'm using JIRA 3.13.
I've looked at the JIRA and Atlassian plugins but don't quite understand how they work. Aren't plugins meant to be deployed into the JIRA instance. I don't see how plugins can achieve what i want to do.
You'll likely want to use the JIRA SOAP web service via a SOAP client in your program. This can call the getIssuesFromFilter method to return the results of a filter. Then generate the csv file for Excel to import or whatever you want.
Better Excel Plugin was exactly designed for these type of usage.
You can export your issues to a worksheet, then instruct the XLS template to process them using the Excel tools, like formulas and functions, charts, pivot tables and pivot charts, to produce full blown reports. It is fully automatic and the report can be generated by a single click.
If you look for automation, like generating and emailing the report periodically, or generating and saving the report when an issue event occurs, the companion add-on Excel Automation Plugin is super useful.
Here is a sample report to give you an idea about the capabilities:

Resources