I noticed that the Forge apps that I have installed in my development site (listed under Jira settings > Apps > Manage apps) have version numbers of at least 2.x. Where do these version numbers come from and when/how are they updated?
It looks like new apps that are deployed for the production environment using the Forge CLI always start at version 2.1.0. I would have expected that the version number starts at 1.0.0.
Both links posted by @anon87782987 are apparently dead, but…
Are these version numbers accessible from Bitbucket pipelines, so that it’d be simple to tag a given set of deployed code with a given Forge-generated version number (for example)?
The first link is still available, though in a Marketplace Partner only section - you can apply to access these sections here (replaces the second and indeed dead link):
As for the version numbers, they are in principle accessible via the Marketplace REST API, and also via the newer Atlassian GraphQL API (don’t have any code or specific pointers handy right now).