﻿---
title: Jira output plugin v3.0.3
description: Plugin version: v3.0.3, Released on: 2017-08-16, Changelog. For other versions, see the overview list. To learn more about Logstash, see the Logstash...
url: https://www.elastic.co/docs/reference/logstash/versioned-plugins/v3-0-3-plugins-outputs-jira
products:
  - Logstash
applies_to:
  - Elastic Stack: Generally available
---

# Jira output plugin v3.0.3
- Plugin version: v3.0.3
- Released on: 2017-08-16
- [Changelog](https://github.com/logstash-plugins/logstash-output-jira/blob/v3.0.3/CHANGELOG.md)

For other versions, see the [overview list](https://www.elastic.co/docs/reference/logstash/versioned-plugins/output-jira-index).
To learn more about Logstash, see the [Logstash Reference](https://www.elastic.co/guide/en/logstash/current/index.html).

## Getting help

For questions about the plugin, open a topic in the [Discuss](http://discuss.elastic.co) forums. For bugs or feature requests, open an issue in [Github](https://github.com/logstash-plugins/logstash-output-jira). For the list of Elastic supported plugins, please consult the [Elastic Support Matrix](https://www.elastic.co/support/matrix#matrix_logstash_plugins).

## Description

This output allows you to use Logstash to parse and structure your logs and ship structured event data to JIRA.
Structured event data will be added to the JIRA issue as *Description* field value.
Example JSON-encoded event:
```
    {
      "message": "Hello JIRA!",
      "@version": "1",
      "@timestamp": "2015-06-04T10:23:30.279Z",
      "type": "syslog",
      "host": "192.168.1.42",
      "syslog_pri": "11",
      "syslog_timestamp": "Jun  4 14:23:30",
      "syslog_host": "myhost",
      "program": "root",
      "syslog_severity_code": 3,
      "syslog_facility_code": 1,
      "syslog_facility": "user-level",
      "syslog_severity": "error"
    }
```

Example JIRA issue created the event above:
```
    Type:        Task
    Priority:    2 - Major
    Status:      TO DO
    Resolution:  Unresolved
    Summary:     [logstash] Hello JIRA!
    Description:
        ---
        message: Hello JIRA!
        '@version': '1'
        '@timestamp': 2015-06-04 10:23:30.279000000 Z
        type: syslog
        host: 192.168.1.42
        syslog_pri: '11'
        syslog_timestamp: Jun 4 14:23:30
        syslog_host: myhost
        program: root
        syslog_severity_code: 3
        syslog_facility_code: 1
        syslog_facility: user-level
        syslog_severity: error
```

To use this output you’ll need to ensure that your JIRA instance allows REST calls.
This output uses `jiralicious` as the bridge to JIRA By Martin Cleaver, Blended Perspectives with a lot of help from *electrical* in #logstash.
Origin  and  via .

## Jira Output Configuration Options

This plugin supports the following configuration options plus the [Common options](#v3.0.3-plugins-outputs-jira-common-options) described later.

| Setting                                                   | Input type                                                    | Required |
|-----------------------------------------------------------|---------------------------------------------------------------|----------|
| [`assignee`](#v3.0.3-plugins-outputs-jira-assignee)       | [string](/docs/reference/logstash/plugins/value-types#string) | No       |
| [`host`](#v3.0.3-plugins-outputs-jira-host)               | [string](/docs/reference/logstash/plugins/value-types#string) | No       |
| [`issuetypeid`](#v3.0.3-plugins-outputs-jira-issuetypeid) | [string](/docs/reference/logstash/plugins/value-types#string) | Yes      |
| [`password`](#v3.0.3-plugins-outputs-jira-password)       | [string](/docs/reference/logstash/plugins/value-types#string) | Yes      |
| [`priority`](#v3.0.3-plugins-outputs-jira-priority)       | [string](/docs/reference/logstash/plugins/value-types#string) | Yes      |
| [`projectid`](#v3.0.3-plugins-outputs-jira-projectid)     | [string](/docs/reference/logstash/plugins/value-types#string) | Yes      |
| [`reporter`](#v3.0.3-plugins-outputs-jira-reporter)       | [string](/docs/reference/logstash/plugins/value-types#string) | No       |
| [`summary`](#v3.0.3-plugins-outputs-jira-summary)         | [string](/docs/reference/logstash/plugins/value-types#string) | Yes      |
| [`username`](#v3.0.3-plugins-outputs-jira-username)       | [string](/docs/reference/logstash/plugins/value-types#string) | Yes      |

Also see [Common options](#v3.0.3-plugins-outputs-jira-common-options) for a list of options supported by all output plugins.

### `assignee`

- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

JIRA Reporter

### `host`

- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

The hostname to send logs to. This should target your JIRA server and has to have the REST interface enabled.

### `issuetypeid`

- This is a required setting.
- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

JIRA Issuetype number

### `password`

- This is a required setting.
- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.


### `priority`

- This is a required setting.
- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

JIRA Priority

### `projectid`

- This is a required setting.
- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

Javalicious has no proxy support JIRA Project number

### `reporter`

- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

JIRA Reporter

### `summary`

- This is a required setting.
- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

JIRA Summary
Truncated and appended with *…* if longer than 255 characters.

### `username`

- This is a required setting.
- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.


## Common options

These configuration options are supported by all output plugins:

| Setting                                                       | Input type                                                      | Required |
|---------------------------------------------------------------|-----------------------------------------------------------------|----------|
| [`codec`](#v3.0.3-plugins-outputs-jira-codec)                 | [codec](/docs/reference/logstash/plugins/value-types#codec)     | No       |
| [`enable_metric`](#v3.0.3-plugins-outputs-jira-enable_metric) | [boolean](/docs/reference/logstash/plugins/value-types#boolean) | No       |
| [`id`](#v3.0.3-plugins-outputs-jira-id)                       | [string](/docs/reference/logstash/plugins/value-types#string)   | No       |


### `codec`

- Value type is [codec](/docs/reference/logstash/plugins/value-types#codec)
- Default value is `"plain"`

The codec used for output data. Output codecs are a convenient method for encoding your data before it leaves the output without needing a separate filter in your Logstash pipeline.

### `enable_metric`

- Value type is [boolean](/docs/reference/logstash/plugins/value-types#boolean)
- Default value is `true`

Disable or enable metric logging for this specific plugin instance. By default we record all the metrics we can, but you can disable metrics collection for a specific plugin.

### `id`

- Value type is [string](/docs/reference/logstash/plugins/value-types#string)
- There is no default value for this setting.

Add a unique `ID` to the plugin configuration. If no ID is specified, Logstash will generate one. It is strongly recommended to set this ID in your configuration. This is particularly useful when you have two or more plugins of the same type. For example, if you have 2 jira outputs. Adding a named ID in this case will help in monitoring Logstash when using the monitoring APIs.
```
output {
  jira {
    id => "my_plugin_id"
  }
}
```