This question already has answers here:
Add Attachment to Jira via REST API
(2 answers)
Closed 7 years ago.
Is it possible to import excel/csv file (which contains details of jira issue like Title, Description, Type, Priority) in jira using any open source Tool or API in Java?
It should log hours and update comments as well.
EDIT: I don't want to upload excel file, rather than I want to create/update issues on jira using excel/csv file upload.
I have not seen an open source tool that does exactly that as JIRA has built in importing functionality for CVS/Excel.
The one opensource tool to mention would be the REST Java Client for JIRA to communicate to your specific JIRA instance that could be used in conjunction with Apache POI to perform what you require.
Related
This question already has answers here:
How to read and write excel file
(22 answers)
Closed 9 years ago.
I want to write a program that compares two Microsoft Excel sheets using Java.
Is there any existing library (and its documentation) that can help me get started with basic stuffs like reading all the rows and columns of the excel ?
Have a look at Apache POI, which is a Java API for Microsoft Documents.
And here is a tutorial on how to setup and get started with Excel files.
1. Apache POI
Apache POI, a project run by the Apache Software Foundation, and
previously a sub-project of the Jakarta Project, provides pure Java
libraries for reading and writing files in Microsoft Office formats,
such as Word, PowerPoint and Excel.
http://poi.apache.org/
2. docx4j
docx4j is a Java library for creating and manipulating Microsoft Open XML (Word docx, Powerpoint pptx, and Excel xlsx) files.
http://www.docx4java.org/trac/docx4j
This question already has answers here:
Generate excel sheet from html tables using jquery
(4 answers)
Closed 9 years ago.
I have table that get data from java code and show that data on web page . Can i export this data in excel format using javascript?
What will be the code for that
Javascript does not interact with file Object. it requires aciveX Object that only IE has available.
you need to export it using different third party library like apache POI
Also you can anyhow use wkhtmltopdf that prints exactly same that will be available on HTML page into pdf
This question already has answers here:
Recommendations on a free library to be used for zipping files [closed]
(9 answers)
Closed 8 years ago.
I want to process password protected zipped files using Hadoop mapreduce. I was able to process unprotected zip files using ZipFileInputformat. But it doesn't support password protected zips.
Is there any Java library that provide stream access to password protected zip files or extract zip files if I can make its byte content available ? Thanks in Advance.
Assuming you can find a java library that can read password protected zip files (see this blog article for an example), you should be able to modify the current ZipFileInputFormat to use this library and then you'll just need to configure the password for each zip file via a configuration option (hopefully you don't have too many files, or all the files are protected using the same password).
It should be easy enough. Give it a try and if you run into problems, post another question - or ask author of the input format (https://github.com/cotdp/com-cotdp-hadoop is one possible implementation of ZipFileInputFormat i found via google) as to whether he can roll the update for you
I have been using Apache POI for quite sometime and it works great but I am not able to find a reliable answer about filter support in the library.
For reference, I mean the filter option available in data tab in excel which allows you to show all unique values of a column as a combo box in the header of the Column.
I know there is already a question about it generate excel in java where this question was asked.
And I see that Apache POI people checked in something recently for this
https://issues.apache.org/bugzilla/show_bug.cgi?id=35125
Is there anyone who has used POI new version to try filter option?
As waiting for the final release of POI with this feature may not be possible for us, can anyone point out other Excel Java API which allow this option (JExcel does not as far as I found out). I do see many websites allowing export to excel with filtering available. If there is no good API to provide it, is there any other way or post processing on excel which i can do to add this option
Sorry for the repeated question, but I could not see any other way to resolve my issue other than approaching stackoverflow community
It's already enabled in Apache POI 3.7. How? take a look...
sheet.setAutoFilter(CellRangeAddress.valueOf("A1:C200"));
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Converting HTML files to PDF
List of HTML to PDF converters
We want an java plugin to convert html to pdf, that will integrate with our app. is that possible with any java plugins?, we dont want to purchase it every time especially number of users for one app something like that. we will integrate that plugin with our app. we are not going to show that there plugin inside our app.but there is need of printing html on browser and as well need to produce pdf for that HTML in our app. we want plugin for our application. is there any java /java server plugin .
Please let us know that if this suitable to our requirements. any reply that would be great help.
Thanks and Regards
kumar kasimala
You can use itext library for this purpose
Try the PDF Converter services. It supports loads of formats including HTML and works from any Web Services capable environment including Java and .net.
Here are some examples:
Converting using the web services interface
Converting HTML
Note that the articles may mention SharePoint a couple of times. Don't worry, the product is not tied to SharePoint, it just happens to be used a lot in that environment.
Big disclaimer, I worked on the product so I am obviously biased about how fantastic the product is :-)