Cloud customer?
Start for Free >
Upgrade in MyJFrog >
What's New in Cloud >

Search





Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A Jira integration is required to create issues on Jira server from JFrog Pipelines steps.

Adding an integration

You can add this integration by following steps on the Managing Pipelines Integrations page.

Here is the information you need to create this integration:

  • Name -- choose a friendly name for the integration
  • Url -- Jira URL (for example, https://jira.mycompany.com)
  • Username -- account username/email used for login
  • Token -- either
    Newtablink
    TextJira API Token
    URLhttps://confluence.atlassian.com/cloud/api-tokens-938839638.html
    for the account with
    Newtablink
    Textpermissions on the Jira REST APIs
    URLhttps://developer.atlassian.com/cloud/jira/platform/rest/v3/#permissions
    (for Jira Cloud), or the account password (for Jira Cloud or Jira Server)


Panel
titlePage Contents

Table of Contents
maxLevel3
minLevel2

Usage

The Jira integration can be added directly to a step in the integrations section. 

The send_notification utility function can be used with a Jira integration to create an issue in Jira. For example, if a deployment fails, a ticket can be created in Jira through this integration. 

Default Environment Variables

When you add this integration to a step, a set of environment variables is automatically made available.

Environment variable

Description

int_<integration-name>_urlJira API endpoint URL
int_<integration-name>_usernameUsername or email to use to login
int_<integration-name>_tokenAuthorization to use for invoking the APIs
Copyright © 2021 JFrog Ltd.