Table of Contents
- Set up the Optimizely for Jira integration
- Link an experiment, feature, or idea to a Jira issue
- View Optimizely information in Jira
- Unlink an experiment, feature, or idea from a Jira issue
- Disconnect a user account
- Configure your organization's Jira integration
- Connect your Optimizely account to your Jira account
- Link and unlink experiment, campaigns, feature flags, rollouts and ideas to Jira tickets
- Disconnect your Jira authorization from your Optimizely account
Many Optimizely customers also manage the development of features and experiments within Jira. This integration allows users to connect their Optimizely and Jira workflows without unnecessary duplication of effort by linking Jira issues to Optimizely’s Web, Full Stack, and Program Management products. Natively link Optimizely experiments, personalization campaigns, feature flags and rollouts, and Program Management ideas to Jira issues. Then track their status directly from the relevant Jira ticket.
Optimizely Performance Edge is a lightweight experimentation product that delivers significantly faster performance than previous versions of Optimizely. It does this by relying on a streamlined "microsnippet" which limits the range of available features.
Optimizely Performance Edge and Optimizely Web integrate with Jira the same way, so all information contained in this article applies to experiments created with either version of Optimizely.
You can also integrate Jira with Optimizely Full Stack. See our developer documentation for more details.
This integration is only available on the Jira Cloud platform, and not on Server.
Set up the Optimizely for Jira integration
Setting up your Jira integration is a three-step process:
- Install the Optimizely for Jira app from the Atlassian marketplace on the Jira instance. You will only have to do this once per Jira account.
- Enable the Jira integration on each Optimizely project where you want the integration to be available.
For Program Management, you can either enable the Jira integration on at least one Optimizely Web or Full Stack project, or you can OAuth directly from Program Management itself. If you choose the latter, whenever you authorize a Program Management team, you also authorize all projects tied to that team.
- Connect the Optimizely and Jira accounts of each user who will use the integration.
Enable the Jira integration separately for each individual Optimizely project, but you only install the Atlassian marketplace app once for each Jira instance.
Configure the integration in Jira
Configure this integration before you use it. Your Jira administrator will have the appropriate credentials to do this.
Log in to your Jira instance as an administrator.
Install the Optimizely for Jira add-on by clicking the admin dropdown and choosing Add-ons.
Enable the integration in Optimizely
Login to Optimizely as an administrator or project owner in the Optimizely project where you want to use the integration.
Go to Settings in the left menu bar and click the Integrations tab at the top of the page.
Find and click Jira in the list of integration partners.
In the panel that appears on the right, toggle the switch to On.
Click Connect to Jira. This initiates the OAuth process. An Atlassian OAuth page appears.
Select the Jira tenant URL you wish to authenticate (e.g.,
company.atlassian.net), and click Approve.
Back in Optimizely, in the right panel under Integration Details > Settings, click Edit and select the same Jira tenant URL you just authenticated.
Click Save. Your Optimizely project and your Jira instance are now connected.
Connect users' Optimizely and Jira accounts
Now that the integration is set up, other users will be asked to authenticate their accounts with Jira in order to link actions to the specific user who performed them. Users only need to authenticate once in an account, but the integration must be turned on in each project individually. This ensures the appropriate Jira URL is associated to each Optimizely project.
Link an experiment, feature, or idea to a Jira issue
If you are using Optimizely Web or Full Stack, find the experiment, feature, or idea you wish to link to a Jira issue and click ... at the far right-hand side. From the drop-down list, select Link Issue...
If you are using Program Management, find the idea you wish to link to a Jira issue and click ... at the far right-hand side. From the drop-down list, select Link Issue...
The Link Jira Issue window appears. A list of recently-viewed Jira issues will be visible at the bottom. If the relevant issue is not listed there, enter the Jira issue key in the search field and click Search.
Click Save and Link Issue.
View Optimizely information in Jira
The Optimizely for Jira integration is visible to Jira users in your organization, whether they have access to Optimizely or not.
To find the Optimizely information within a Jira ticket, open the ticket and scroll down the right side until you see the Optimizely logo (for experiments and ideas) or the word "Releases” (for feature flags).
To see more information about an experiment or idea:
From within the Jira ticket, click either Open Optimizely or Releases, whichever is visible to you.
In the right-hand sidebar, click on either the Experiments or Ideas tab to display a list of linked experiments or ideas.
Click on the experiment or idea you want to view. Jira will display a summary of that experiment or idea.
For experiments, Jira users can see:
For ideas, Jira users can see:
For feature flags, the integration includes the name of the feature and its current status. Hovering over the flag status displays the current percentage of roll-out for the feature. Clicking on the feature name opens it directly in Optimizely.
Unlink an experiment, feature, or idea from a Jira issue
Find the feature you wish to unlink and hover over the Jira ticket link. In the callout that appears, click Unlink.
If you are sure you want to unlink the Jira issue from the feature, click Unlink Jira Issue.
When you link or unlink an issue, that should be reflected immediately in both Optimizely and Jira.
Disconnect a user account
To remove user-level authentication between Optimizely and Jira, follow these steps:
Go to the experimentation portal.
Log in to Optimizely as the user whose authentication is to be removed.
From the Experimentation platform, go to Settings > Integrations.
Find and click on Jira in the list of integration partners.
In the panel that appears on the right, click Disconnect (next to the user avatar) and follow the instructions.
The integration is not visible from inside Jira
If you have manually selected to use the old view in Jira, you will not be able to take advantage of this integration: you will have to enable the new Jira issue view in Jira. This will make visible the Releases section in each of your Jira issues.
Within Jira, click your profile avatar in the lower-left corner and select Personal settings.
Toggle the switch for the new Jira issue view.
If Personal settings is not listed as an option when you click your avatar, you can find the toggle switch under Profile instead.
To learn more about the new Jira issue view, see what is the issue view?
Verify your integration is functioning properly
There are two ways to verify your integration is working as expected. Go to Setting > Integrations and find the project integration settings for Jira. These should indicate that integration is switched on and connected with a Jira tenant URL.
Alternately, if you see the option to link or unlink Jira issues to feature flags in the Experiments, Ideas or Features dashboards, your integration is working correctly.
If it turns out that your integration is not working as expected, make sure your Jira administrator has installed the Optimizely for Jira add-on before trying to authenticate from Optimizely. Add this on the Jira side before making any authentication attempts.
Sometimes, the project settings show that Jira integration is enabled, but the option to link issues from the Experiments, Ideas or Features dashboards is not available. This means the user has not been properly authenticated. On the Atlassian oAuth page, be sure to select the same Jira tenant URL that is listed in the Optimizely project settings.
If you cannot see the Releases section on the right side of your Jira issues, first make sure that New Jira Issue View is switched on in your Jira profile settings. If that does not work, check with your Jira administrator that the Optimizely for Jira app is installed in your Jira instance.
A Jira issue does not show up in Search
Possible reasons for this:
The issue does not exist or was moved to a different project and has a new key
Project integration settings does not have the Jira tenant URL that contains the issue
The user OAuth failed
Feature flag module is not visible inside of Jira
This is likely because you have not enabled the new Jira view.