Skip to content
December 14, 2011 / edeustace

simple jira webservice client

I was doing a bit of Jira story creation today and had a lot of stories to add. They were all written into a spreadsheet. So I wondered if I could do a batch import of the spreadsheet. This is possible if you have a Jira administrator account, but I don’t I’m just a regular Joey for this Jira server.

So I put together a little webservice client that does the csv import for me.

The project is an executable jar so you run it like so:

java -jar simple-jira-webservice-client-0.1-jar-with-dependencies.jar ${username} ${password} ${path_to_csv_file}

where the csv file might look like:

#project_key,summary,description
MYPROJECT,New Story,Here is the description
MYPROJECT,New Story Two,Here is another description

If you’d like to use it, you’ll need to run a few maven commands (see github for more info) first to get the wsdl for your jira server. Once that set up you can then build it, and then run the above command.

The source code is on Github.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: