I'm trying to create an issue using the REST API. I've looked through several examples and videos and cannot find what I could be doing wrong. I keep recieving a 400 Bad Request error...
I'm running the following method:
http://localnet:8080/rest/api/2/issue/
This is my code:
{
"fields": {
"project": {
"key": "TP"
},
"summary": "TEST API",
"description": "Test Description",
"issuetype": {
"name": "Task"
}
}
}This is what I recieve back:
{
"errorMessages": [],
"errors": {
"project": "project is required"
}
}