I need to be able to create an Epic in JIRA Agile using the REST API. We have Fix Version/s as a required field for Epics.
How do I specify the Fix Version/s field in the application/JSON notation in the REST API Browser?
When I use the Request Body below I get the error: {"errorMessages": [],"errors": {"Fix Version/s": "Field 'Fix Version/s' cannot be set. It is not on the appropriate screen, or unknown."}}.
I've tried variations of escape characters and quotes around Fix Versions to no avail.
{ "fields": { "project": { "id": "10800" }, "summary": "No REST for the Wicked.", "description": "Creating of an issue using ids for projects and issue types using the REST API", "issuetype": { "id": "6" }, "customfield_10007": "This is an Epic Name", "Fix Version/s": [{ "name": "Product Backlog"}], "components": [{ "name": "A0.DOC.DESIGN" }, { "name": "B0.DOC.DESIGN" }] } }
Community moderators have prevented the ability to post new answers.
Hello. I finally figured out how to set a version on an already created ticket and thought I would let you know in case it is helpful at all. I was getting the same error you were when i had the wrong capitalization and spacing for "fixVersions".
{ "fields":
{
"fixVersions": [{"name":"3.6.1"}]
}
}
I get a similar error when I try "fixVersion", "fixVersions", "Fix Versions", or "Fix Version".
{
"errorMessages": [],
"errors": {
"Fix Versions": "Field 'Fix Versions' 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.
Hi, Steve.
I think the '/' may be the problem.
Looking at this documentation, it seems to me that you should use 'Fix Versions', without the '/', though it's not clear.
Maybe you could try it.
I hope it was helpful.
Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.