﻿---
title: Jira output plugin v3.0.4
description: Plugin version: v3.0.4, Released on: 2018-04-06, Changelog. For other versions, see the overview list. To learn more about Logstash, see the Logstash...
url: https://docs-v3-preview.elastic.dev/elastic/logstash-docs-md/tree/main/vpr/v3-0-4-plugins-outputs-jira
---

# Jira output plugin v3.0.4
- Plugin version: v3.0.4
- Released on: 2018-04-06
- [Changelog](https://github.com/logstash-plugins/logstash-output-jira/blob/v3.0.4/CHANGELOG.md)

For other versions, see the [overview list](https://docs-v3-preview.elastic.dev/elastic/logstash-docs-md/tree/main/vpr/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.4-plugins-outputs-jira-common-options) described later.

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

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

### `assignee`

- Value type is [string](/elastic/logstash-docs-md/tree/main/lsr/value-types#string)
- There is no default value for this setting.

JIRA Reporter

### `host`

- Value type is [string](/elastic/logstash-docs-md/tree/main/lsr/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](/elastic/logstash-docs-md/tree/main/lsr/value-types#string)
- There is no default value for this setting.

JIRA Issuetype number

### `password`

- This is a required setting.
- Value type is [string](/elastic/logstash-docs-md/tree/main/lsr/value-types#string)
- There is no default value for this setting.


### `priority`

- This is a required setting.
- Value type is [string](/elastic/logstash-docs-md/tree/main/lsr/value-types#string)
- There is no default value for this setting.

JIRA Priority

### `projectid`

- This is a required setting.
- Value type is [string](/elastic/logstash-docs-md/tree/main/lsr/value-types#string)
- There is no default value for this setting.

Javalicious has no proxy support JIRA Project number

### `reporter`

- Value type is [string](/elastic/logstash-docs-md/tree/main/lsr/value-types#string)
- There is no default value for this setting.

JIRA Reporter

### `summary`

- This is a required setting.
- Value type is [string](/elastic/logstash-docs-md/tree/main/lsr/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](/elastic/logstash-docs-md/tree/main/lsr/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.4-plugins-outputs-jira-codec)`codec`                         | [codec](/elastic/logstash-docs-md/tree/main/lsr/value-types#codec)codec       | No       |
| [`enable_metric`](#v3.0.4-plugins-outputs-jira-enable_metric)`enable_metric` | [boolean](/elastic/logstash-docs-md/tree/main/lsr/value-types#boolean)boolean | No       |
| [`id`](#v3.0.4-plugins-outputs-jira-id)`id`                                  | [string](/elastic/logstash-docs-md/tree/main/lsr/value-types#string)string    | No       |


### `codec`

- Value type is [codec](/elastic/logstash-docs-md/tree/main/lsr/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](/elastic/logstash-docs-md/tree/main/lsr/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](/elastic/logstash-docs-md/tree/main/lsr/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"
  }
}
```