Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using API to open issues

Afonso Neto August 28, 2023

Hi guys,

 

I have Jira server in my organization, and I would like to call API to open issues on Jira from my internal CMP system, intead of open it manually via Jira GUI.

How can I get the API list and instructions to use them?

Thanks

 

Afonso.

3 answers

3 accepted

2 votes
Answer accepted
Dan Breyen
Community Champion
August 28, 2023

Hi @Afonso Neto I think this is what you're looking for: Developer API 

Hope that helps.

Afonso Neto August 28, 2023

Thanks @Dan Breyen 

0 votes
Answer accepted
Vikrant Yadav
Community Champion
August 28, 2023

Hi @Afonso Neto Here is the Jira Server API Create Issue Doc : 
https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/

 

curl -D- -u fred:fred -X POST --data {see below} -H "Content-Type: application/json" http://localhost:8090/rest/api/2/issue/

 

{
"fields": {
"project":
{
"key": "TEST"
},
"summary": "REST ye merry gentlemen.",
"description": "Creating of an issue using project keys and issue type names using the REST API",
"issuetype": {
"name": "Bug"
}
}
}

Afonso Neto August 28, 2023

Thanks @Vikrant Yadav 

Like Vikrant Yadav likes this
0 votes
Answer accepted
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2023

Hi @Afonso Neto ,

Do you mean, want to create jira tickets from your internal CMP system? If yes, you can use jira rest API to create/open jira tickets. 

 

Rest API referrence @ https://docs.atlassian.com/jira-software/REST/9.10.0/ 

Suggest an answer

Log in or Sign up to answer