Creating Issue with Jira Api using NodeJS

Hello Everyone,

I am facing problem when i try to create an jira issue in nodeJs Api. it give me Following Error.
I am using Oauth for Authentication.


I am follwing the NodeJs example code( jira mention in Api Doc.

GET request is doing fine but There is problem with POST requests.

I Create an Application Link for Oauth with Application Url = This is where my Api is hosted.

My Issue Creation Code:
var consumer =
new OAuth(req.body.baseUrl + "/plugins/servlet/oauth/request-token",
req.body.baseUrl + "/plugins/servlet/oauth/access-token",
req.body.privateKey); + "/rest/api/2/issue",
function(error, data, resp) {
// data = JSON.parse(data);

2 answers


I have a link to create issue using node js. you can follow the link hope it will helpful for you.



Anil Singh

Programmer Analyst

Here is a project I plan on using... haven't tested it yet though

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

281 views 38 9
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