Error Version id is not valid inserting issue via api.

Brett Sutton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2017

I'm trying to insert an issue via the jira api (from Zapier).

When I pass a version no. to the 'fixVersions' field I'm getting the following error:

400: {"errorMessages":[],"errors":{"fixVersions":"Version id '4.6.0.14' is not valid"}}".

Version 4.6.0.14 exists.

My concern is that it mentions the term 'Version id'. Does this mean I need to obtain the internal jira version id rather than the passing in the version name?

 

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2017

Hello,

When you pass fixVersions you should pass like this

"fixVersions": [
{
"name": "1.0"
}

]

User name parameter, not id

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events