Automatically create 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 > 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 Build successful as the trigger that executes the rule and click Next.
- Specify the Build name contains field to limit the rule to only your release job and click Next.
- Select THEN: Add an action
- Select Release version action.
- Expand More options and select the project to release the version in.
- Specify the name of the version
Release {{build.name}}
- Specify the release date
{{now.jiraDate}}
- 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 Release new Version.
- Click on Turn on rule to activate the rule.
Previous: Use case: Create issue for failing builds
Next: Use case: Transition issue when work starts