HI Team,
I am trying to create a Jira issue using Rest API and need to specify which sprint this issue needs to be created.
I have used below schema, however, the "bad request " error is thrown.
1.
"fields": {
"project": {
"id": "10000"
},
"summary": "something'\''s wrong",
"issuetype": {
"id": "10000"
},
"assignee": {
"name": "homer"
},
"reporter": {
"name": "smithers"
},
"priority": {
"id": "20000"
},
“Sprint: : {
“name”: “Sprint1:
},
"labels": [
"bugfix",
"blitz_test"
]
Throws bad request error
"fields": {
"project": {
"id": "10000"
},
"summary": "something'\''s wrong",
"issuetype": {
"id": "10000"
},
"assignee": {
"name": "homer"
},
"reporter": {
"name": "smithers"
},
"priority": {
"id": "20000"
},
“Sprint: : “Sprint1",
"labels": [
"bugfix",
"blitz_test"
this as well throws "bad request" error.
],