I only have the name of a version that needs to be set to released. In order to close it I need the corresponding id. The following api returns a list of all versions for a specifc project
I could then search the result for a matching entry and fetch the id from the response. This could be a solution. However for large projects this will not be very efficient. I am looking to filter the results by name, but I cannot find anything documented that would support something like this:
If the API is lacking such a feature I am interested in other ways to limit te result. Maybe filtering it by status (only show unreleased versions). Or maybe a complete different approach.
I do not wan't to write a plugin for numerous reasons, but thanks for mentioning it.
Is the order of versions in the result guaranteed or can it be changed? Per default it appears to be oldest first. The unreleased versions would most likely be the newer ones, hence will appear at the end. If I cannot determine the order, pagination will not really be helpful I reckon.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot