Use case: Publish version on release

Automatically trigger the release build whenever a version in Jira is released.

The Rule

After you installed the add-ons, you are ready to configure your Rule.

  • For a global rule:
    • From the top navigation in Jira, choose Gear Icon > System.
    • Choose Automation > Global automation and click on Create Rule.
  • For a project rule:
    • Navigate to your project and choose Project Settings
    • Choose Automation and click on Create Rule.
  • Select Version released as the trigger that executes the rule.
  • Click on Next.
  • Select THEN: Add an action
  • Select Build a Jenkins Job from Jira.
  • Configure what job(s) should be triggers, e.g. Select Build the selected job and select your release job.
  • Configure what parameter(s) should be sent to Jenkins, e.g. a specific parameter with the name of the version being released.
  • Click on Next
  • You should have a rule that looks similar to the one in screenshot below.
  • Click on Turn on rule to store.
  • Give the rule a meaningful name, like Publish version on release.
  • Click on Turn on rule to activate the rule.
  • Click on Turn it on to store and activate the rule.
Use case: Publish version on release

Previous: Use case: Transition issue when work starts
Next: Automation (Legacy)
Jenkins for Jira

Didn’t find what you were looking for?