Programmatically trigger Bamboo build from Jira plugin

I am developing a version management plugin for Jira and as part of my workflow I would like to trigger a Bamboo build for a version in Jira.

There is a standard feature in Jira to trigger a Bamboo build, when releasing a version as describe here

I have similar situation, but want to call this functionality from the backend of my Jira plugin, not via UI.

How can I programmatically by Java API or REST API trigger a similar Bamboo build?

Any ideas or suggestions?

Thank you in advance

1 Like