Dear Sir,
Create BUG issue through API but error is coming that Fixversion Screen Not set.
Bug screen Fixversion filed available and mandatory.
There is way to short the issue.
Please find the doc. link to create issue throgh api https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
you can set the Fixversion field while creating issue for. eg like this
"fixVersions": [
{
"id": "10001"
}
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."
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check create issue screen of bug issue type. whether fixVersions filed is available or not on that screen? also check "TL - Origination Bouquet" value is available in project Releases.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @vashim shekh
Are you trying to Create a Bug? or a Defect.?
sometimes a Defect is of issue type sub-task and not parent, your approach is correct.!
Note:
Hope you are aware of the policies of your organization when providing client specific URL: https://jira.devops.idfcbank.com/rest/api/2/issue
(though this cannot be accessed by every Atlassian community member)
If it is a site-specific query, I would suggest directly contact the Atlassian support
(it is a better practice)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks to you sandesh and sudarshan also , we have fixed now there is permission issue we found.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.