Hi,
We are trying to raise defects in Jira using Jira rest apis. Please find below details regarding the api we are using.
URL : https://jira.devops.idfcbank.com/rest/api/2/issue
Input:
{"fields":
{
"summary":"Invalid bug raised from api",
"issuetype":{"name":"Bug"},
"project":{"key":"APIF"},
"description":"this bug was raised from jira rest api to test qrace integration",
"customfield_10404":{"value" : "Medium"},
"customfield_10403":{"value" : "Development" },
"fixVersions":[{"name":"TL - Origination Bouquet" }]
},
"update":{
"issuelinks":[
{
"add":{
"type":{
"name":"Relates"
},
"inwardIssue":{
"key":"APIF-1138"
}
}
}
]}
}
We are not able to generate defect using api. We are getting following error :
{
"errorMessages": [],
"errors": {
"fixVersions": "Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown."
}
}
We have checked project configuration for fixed versions field, which looks properly configured. We are not sure what is the issue. Please raise ticket with Jira support team to resolve the issue .