Jira has a function latestReleasedVersion() but it doesn't know anything about this plugin, so only one version is the latest. We would like to have latestReleasedComponentVersions() which would return a list of versions, one per component.
Also, unlike the ridiculous ordering of latestReleasedVersion(), please make 'latest' mean 'version with the most recent release date'.
I don't think this will work as you expected if you are not creating versions with component prefix/suffix.
if you use version in latestReleasedComponentVersions(...) it will be equal to version in (1.0.0, 2.0.0, 1.1.0) and it will return issues for Component 3 in version 1.1.0.
I just assumed that’s what everyone did. Otherwise it would get so confusing to know what version was what. And are you allowed to create multiple versions with the same name in the same project? How could you tell them apart?
What I really want is some JQL like this:
Any thoughts about how to do this?
Okey. I'm working on this, but I will implement it based on semantic versioning not on release date, is this also acceptable for you?
I have implemented two versions:
fixVersion in earliestUnreleasedComponentVersion("LRT", "semantic")
fixVersion in earliestUnreleasedComponentVersion("LRT", "release date")
Great! I prefer the release date version since that just makes sense to me, but they are both useful.
Thanks so much.