Use case: Release version after the release build

Automatically release a new version in Jira when ever a release build successfully completes.

The Rule

After you installed the app, you are ready to configure your Rule.

  • For a global rule:
    • From the top navigation in Jira, choose Gear Icon > System.
    • Choose Automation for Jira > Automation rules 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 Build Processed as the trigger that executes the rule.
  • Configure the trigger by selecting equal to and Success to only trigger the rule if the build succeeded.
  • Select the job to limit the rule to only your release job and click Save.
  • Select Release version action.
  • Select the project to release the version in.
  • Specify the name of the version
    Release {{build.number}}
    
  • Specify the release date
    {{now.jiraDate}}
    
  • click on Save
  • You should have a rule that looks similar to the one in screenshot below.
  • Specify a meaningful name, like Release new Version.
  • Click on Turn it on to store and activate the rule.
Use case: Release version after the release build

Previous: Use case: Create issue for failing builds
Next: Use case: Publish version on release
Jenkins Integration for Jira DC

Didn’t find what you were looking for?