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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create a version from a kanban board using the REST API


The API documentation gives clear instruction on how to create a new version in a project but what if I wanted to create a new version from a Kanban board. Is that possible?

It would be a much better solution than creating the release and then adding the tickets to the release afterwards.

1 answer

1 accepted

0 votes
Answer accepted

Hello Karl,

Thank you for reaching out.

I understand that you would like to create a version from the rest API and apply it to all issues in a specific Kanban board. Is it correct?

As you can see in this documentation, Versions are related to projects and are used to schedule and organize your releases applicable only for the specific project it was created. With that in mind, we do not have a REST API to create versions from specific boards because boards are based on a JQL filter which can be related to multiple JIRA projects or not, making the versions not applicable to all the scenarios of a board.

That being said, I  recommend you two steps to achieve your need in an efficient way:

1 - Create the version through rest API

2 - Use the Edit Issue API to set the board filter and properly edit the issues with the version you created.

Let me know if this information helps.

Hi, thanks for explaining! I understand why we have to do it this way now.

You are welcome, Karl.

Have a nice week!

Hi, can you please go into detail on your answer:

1 - Create the version through rest API

I've tried multiple curl commands but, I keep getting an internal server error when trying to create a version. I'm thinking my syntax may be wrong.

curl -kv -D- -u user:password -X POST --data '{"name": "1.10.10", "released":true, "project": "PROJECT-KEY", "releaseDate": "2020-22-39"}' -H "Content-Type: application/json"

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you