jira.svg

Jira

by drone-plugins


A plugin to attach build and deployment details to a Jira issue. It can use oauth client id / oauth secret OR use Jira connect key. For further information on how to use the plugin with harness there is a video `https://www.youtube.com/watch?v=YIKbLeY1-gI`.

Example

kind: pipeline
name: default

steps:
- name: jira oauth
  image: plugins/jira
  settings:
    client_id:
      from_secret: jira_client_id
    client_secret:
      from_secret: jira_client_secret
    instance: droneio
    project: TT
    environment_name: staging
    log_level: debug
    pipeline: bash_plugin
# alternatively
- name: jira connect application
  image: plugins/jira
  settings:
    connect_key:
      from_secret: jira_connect_key
    instance: droneio
  project: TT
  environment_name: staging
  log_level: debug
  pipeline: bash_plugin

Properties

  • client_id

    stringrequired

    The Jira Oauth2 client ID. You must also pass the client secret.

    Secret recommended

    Default: none

  • client_secret

    stringrequired

    The Jira Oauth2 client secret. You must also pass the client id.

    Secret recommended

    Default: none

  • connect_key

    stringrequired

    The Jira Connect key. This is instead of passing oauth information.

    Secret recommended

    Default: none

  • instance

    stringrequired

    The Jira instance. The prefix on your atlassian hostname.

    Default: none

  • project

    stringrequired

    The Jira project. eg TEST

    Default: none

  • environment_name

    stringrequired

    The Jira environment name.

    Default: none

  • pipeline

    stringrequired

    The pipeline name.

    Default: none

  • log_level

    stringoptional

    debug/info Level defines the plugin log level. Set this to debug to see the response from jira

    Default: none

  • link

    stringoptional

    The link to the Jira deployment.

    Default: none