Can you use the REST API to create/edit/post to a software project ticket?

Originally the API I made was specific to a Service Desk project, and I changed the project type and my API no longer works. I want to make sure that using the API to create and edit an issue in a software project is possible before continuing to dig any further.

1 answer

0 vote
Alexey Matveev Community Champion Dec 19, 2017

Hello,

There is an additional object in the Jira Service Desk domain model called Request Type. If you use Rest Api to create a request type then you can not use this Rest API in Jira Software because in Jira Software you create issues not requests. You could create your own Rest Api to hide this difference but you would still need to program the difference in your custom Rest Api.

So I guess the answer is that you can use the same REST API only if you create issues in Jira Service Desk and Jira Software, if it suits your requirements then go ahead with it. You can use api/2/issue

https://docs.atlassian.com/software/jira/docs/api/REST/1000.1609.0/#api/2/issue

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

510 views 1 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