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.
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.
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 ...
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