Skip to content

An Atlassian Jira workflow postfunction to run an Atlassian Bamboo Plan. It is possible to set variables for the plan to run.

License

Notifications You must be signed in to change notification settings

clocken/bamboo-plan-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Plan Runner for Jira

An Atlassian Jira workflow postfunction to run an Atlassian Bamboo Build Plan. It is possible to set variables for the plan to run.

Installation

As this plugin currently supports server installations only and Atlassian plans to drop support for these, I will not be providing this in the Atlassian Marketplace. I might implement cloud support in the future and provide that in the Marketplace. Until then you can download a release and install it via the Jira plugin manager or if you don't trust my builds build it for yourself.

Prerequisites

The plugin uses Atlassian Application Links to trigger the configured plan on the Bamboo site. So once installed, ensure the following prerequisites are met before using the plugin:

  • Create an OAuth application link for each Atlassian Bamboo instance you want to trigger plan builds on
    • If you don't use the same user store for both Jira and Bamboo sites, you will need to specify OAuth (impersonating) for the Application Link and manually create all triggering Jira users on the Bamboo site
  • Ensure all users that might trigger the workflow transition have Build access to the plan being triggered

Configuration

Ensure the prerequisites are met. Then:

  • Add the Run bamboo plan postfunction to your workflow transition

  • Select the Bamboo instance and the plan to trigger

  • You have two options to set values for variables of the plan

    • Field: Select a Jira issue field from which the value should be taken

    • Custom: Enter custom text and optionally use $(field-id) to substitute a Jira issue field value inside the text

      • Don't know the ID of a field? The selection list has the ID as a tooltip for each field

Contributing

Found a bug, have a feature request or just want to get involved? See CONTRIBUTING.

About

An Atlassian Jira workflow postfunction to run an Atlassian Bamboo Plan. It is possible to set variables for the plan to run.

Resources

License

Stars

Watchers

Forks

Packages

No packages published