Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Creating Issue via REST API

Hello,
I want to create an issue in a Jira project using the REST API. I used a working url + the following ending provided by Atlassian: "/rest/api/2/issue" for POST.

Since the project is different to the sample data provided in Atlassian´s guide (https://docs.atlassian.com/software/jira/docs/api/REST/8.5.0/#api/2/issue-createIssue)

I shortened it to make it suitable for my project and used XYZ in here. The real project has a different key.

{
"fields": {
"project": {
"key": "XYZ"
},
"summary": "something's wrong",
"issuetype": {
"name": "Incoming Invoice"
},
"reporter": {
"name": "smithers"
}
}
}

 

If I wanted to create the issue using the UI it looks like this. 

 

As an error I get the following: message: "{\"errorMessages\":[\"Unexpected character ('f' (code 102)): was expecting a colon to separate field name and value\\n"

This isn´t that relevant but I used UIPath to connect to Jira via Rest Api.

issue.png

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you