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

Hi, 

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!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

308 views 1 3
Join discussion

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