How can I create an issue using wget in Jira

Hi, I am new to Jira and was trying to automate a ticket creation in Jira. I have a shell script in which I am checking for certain condition and if the condition is true, a ticket has to be created automatically. I saved my login info in a cookie file and used that for authentication. I tried below wget to create a sample issue from command line. But it did not create any ticket. can someone help me.

wget --no-check-certificate --load-cookies cookies.txt

Any help on this is highly appreciated.

2 answers

1 votes
Pedro Cora Atlassian Team Jan 21, 2013


I recommend checking this page that contains some tips that may help you out.

Hi Pedro,

Thanks for the reply. For my script, I was referring the above link only. But when I tried using curl, it just ran and was showing an html output on the command line and at the end it showed done. But when verified, no ticket created. :(

Command ran is : curl -u username:password

Pedro Cora Atlassian Team Jan 21, 2013

How about using the REST API?

This page contains examples to use REST to create issues with a simple curl line ;)

Just make sure the External API is enabled in JIRA's General Configuration page.


The page you refer to ( does not exist at the given address. Where can I find it?

0 votes

Do you have any other mandatory fields that needs to be populated? Any other error in the logs?

Thanks Pedro and Jobin. I was able to fix the issue using curl. Thanks for your help.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,063 views 13 18
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