Jira pipeline integration

Codefresh integrates with Jira in several ways. This article describes how to integrate with Jira in Codefresh for the highest visibility into your GitOps deployments.
Alternatively, you can connect to Jira:

  • Through a custom step from our step marketplace so that you can connect your pipelines with Jira
  • By using your own jira-cli


Set up Jira integration in Codefresh

When you add a new Jira integration in Codefresh, you can authenticate either using the:

  • Codefresh Marketplace App
    We recommended setting up your Jira integration through our Marketplace App.

    Note that Codefresh currently has to provide you with access to use the Jira Marketplace App. Please get in touch for more information.

  • Jira Account Details

Before you begin

How to

  1. In the Codefresh UI, on the toolbar, click the Settings icon, and then from the sidebar, select Pipeline Integrations.
  2. Select Atlassian Jira and then click Configure.
  3. Click Add Jira.
  4. In the Integration Name field, enter a name for the integration which is used to reference it in codefresh.yaml.
  5. To restrict access to only Codefresh admins, toggle Allow access to all users to OFF.
  6. To integrate with the Codefresh Marketplace App, click Jira Marketplace App:
    • Paste the Organization URL and the Client Key you generated for the Codefresh App in Jira.
  7. To integrate with your Jira account details, select User/Pass, and define the following:
    • Jira URL: The URL of your organization, for example, `https://company-name.atlassian.net’.
    • Username: Your Jira username, usually the e-mail with which you are logged in to Jira.
    • Password: Your Jira password, or alternatively, the Jira Client Key.

Account Information

  1. For integration with Jira Marketplace App, to verify the connection details, click Test Connection.
  2. To apply the changes, click Save.

Jira integration with Marketplace App

You need to generate the Organization URL and Client Key for the Codefresh application in Atlassian Jira.

  1. In the Atlassian Marketplace, go to the Codefresh Application.

Add Codefresh from Jira App Marketplace

Add Codefresh from Jira App Marketplace
  1. To install the application, click Get it now. When prompted, confirm the installation.

Confirm installation

Confirm installation
  1. When the installation has completed, in your Jira account, go to the Apps menu.
  2. Click Manage your apps.

Select Manage Apps within Your Jira Account

Select Manage Apps within Your Jira Account
  1. In User-installed apps, locate the Codefresh CI/CD platform integration.
  2. Click Configure. This will provide you with your Organization URL and the Client Key.

Account information

Account information
  1. Copy Organization URL and the Client Key. You will need these to set up Jira integration with the Codefresh Marketplace App.

Using the Jira Integration

Once Jira is connected to your Codefresh account, you can use both platforms in combination and integrate Jira into your GitOps workflow.

Example for sending notifications to Jira
Examples for Codefresh pipelines
Create a pipeline