I am using below url to create the issue using postman and the issue needs to be created in current sprint.
https://jira.xyz.corp.com/rest/api/2/issue/
Here is the payload
{
"fields": {
"project": {
"key": "TST",
"name": "Test Project"
},
"summary": "Test Project",
"description": "Test Project",
"issuetype": {
"name": "Integration Defect"
},
"priority": {
"name": "High"
},
"customfield_10351": {
"name": "Severity",
"value": "High"
},
"customfield_10653": {
"name": "Test Phase",
"value": "Test Env"
}
}
}