Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,474
Community Members
 
Community Events
184
Community Groups

Specify a valid version 'id' or 'name' for fixVersions

David E
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!
May 12, 2023

I can see the various questions about this but still can't figure out why I can't get it to work.

I've learned that the ticket and version should be on the same project, and you can verify that below as well. What am I doing wrong?

I'm trying to set the version using:

$ curl -n -D- -X PUT --data '{"update":{"fixVersions":[{"add": [ {"name":"App 8.1.x"} ] }]}}' -H "Content-Type: application/json" https://some.net/rest/api/2/issue/FES-5786

Excerpt with info from the ticket:

$ curl -n "https://some.net/rest/api/latest/issue/FES-5786" | jq | grep '"project"' -A 3
"project": {
"self": "https://some.net/rest/api/2/project/10000",
"id": "10000",
"key": "FES",

The version I'm trying to set:

$ curl -n "https://some.net/rest/api/2/project/10000/versions" | jq | grep 'App 8.1.x' -C 5
"projectId": 10000
},
{
"self": "https://some.net/rest/api/2/version/10149",
"id": "10149",
"name": "App 8.1.x",
"archived": false,
"released": false,
"projectId": 10000
},

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events