Create issue based on json object received via post

Is there a way to automatically create issues in jira by having another service(stackdriver) post a json object to jira?

I really want to avoid creating a proxy server that translates the stackdriver object into a jira api call.

1 answer

Thanks for the quick answer!

I understand that the jira REST api exists for this exact use case. However my issue is that I don't want the maintenace overhead of supporting an app/server that translates a json post of this form:

{

"incident":{

"incident_id":"f2e08c333dc64cb09f75eaab355393bz",

"resource_name":"webserver-85",

"ended_at":null,

"resource_id":"i-4a266a2d",

"url":"https://app.stackdriver.com/incidents/f2e08c333dc64cb09f75eaab355393bz",

"summary":"CPU (agent) for webserver-85 is above the threshold of 1% with a value of 28.5%",

"state":"open",

"started_at":1385085727

}

}

To a jira issue form like this:

{

"fields": {

"project":

{

"id": "10000"

},

"summary": "No REST for the Wicked.",

"description": "Creating of an issue using ids for projects and issue types using the REST API",

"issuetype": {

"id": "3"

}

}

}

Basically, can you suggest a plugin or other means to accomplish this on a hosted jira instance?

Pretty new to this so I appreciate your patience.

Thanks!

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 ...

2,755 views 11 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