Integrate Feature Flags with Jira
With Harness Feature Flags in Jira, teams can use feature flags more quickly and easily from a single place.
Integrating your feature flags with Jira provides the following benefits:
- Have full visibility for everyone who needs it. Keep Dev, Support, Ops, and Product all in the loop by connecting flags to Jira tickets. See the status, who to ask, and where to find more information without having to use an instant messaging app or email, or comment back and forth.
- Get things done in one place. Bouncing around different tools wastes time. Make a new flag as you create your Jira ticket, or link your ticket from Harness as you create a flag. Get more done in fewer clicks.
- Find and manage flags easily. When work is ready to roll out, let your team members jump directly to the flag they want to control, right from the Jira issue they’re already tracking.
Configure the integration
Before you can link a feature flag with a Jira issue for the first time, you must install the Harness Feature Flags for Jira app from the Atlassian Marketplace, and then configure the connection between Harness Features Flags and Jira. You only have to do this once.
- Log in to your Jira instance.
- Select the Apps menu, and then select Explore more apps.
- Search for Harness Feature Flag.
- Select the Harness Feature Flags for Jira app.
- Select Get it now to start the installation.
- Go to your instance of Harness Feature Flags.
- In the left pane, at the bottom, select your user profile.
- Under My API Keys, select the token for the API key you want to use, and then copy the value.
- Go to Jira, and then from the Apps menu, select Harness Feature Flag Addon.
- On the API Key screen, enter the API key token that you copied in step 8, and then select Save.
Link a Jira issue to a feature flag
You can link a Jira issue to a feature flag with just a few steps.
- Go to your Jira project.
- Open the issue to which you want to link a feature flag.
- In the right pane, scroll down to the Releases field.
- Select Add feature flag, and then select Connect feature flag.
- In Harness Flag URL, paste the URL for the flag you want to link to this Jira issue, and then select Save. To locate the URL for the flag, go to your instance of Harness Feature Flags and select the flag. Copy the entire URL for the flag. Make sure the flag you choose has an environment associated with it.
View information about a feature flag from a Jira issue
From within a Jira issue, you can see details about a linked feature flag, including the environment name, status, rollout details, and when it was last updated.
- Go to your Jira project.
- Open the issue that contains the feature flag.
- In the right pane, scroll down to the Releases field.
- Select the box with the right arrow next to the name of the feature flag.