UpdateJiraIssue

Description:

This processor updates existing issues on a Jira server or cloud service. A JSON with the modified issue fields must be provided as an incoming FlowFile.

Additional Details...

Tags:

jira, update, issue

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Web Client Service Providerweb-client-service-providerController Service API:
WebClientServiceProvider
Implementation: StandardWebClientServiceProvider
Controller service for HTTP client operations.
URLjira-base-urlBase URL of Jira. Example: https://issues.apache.org/jira
Jira Credential Providerjira-credentialsController Service API:
JiraCredentialService
Implementation: StandardJiraCredentialService
Specifies the Controller Service that provides credentials to authenticate towards Jira.
Record Readerrecord-readerController Service API:
RecordReaderFactory
Implementations: IPFIXReader
CSVReader
EBCDICRecordReader
Syslog5424Reader
CiscoEmblemSyslogMessageReader
GrokReader
WindowsEventLogReader
ReaderLookup
YamlTreeReader
ExcelReader
CEFReader
SyslogReader
ScriptedReader
JsonTreeReader
AvroReader
XMLReader
JASN1Reader
JsonPathReader
ProtobufReader
ParquetReader
Specifies the Controller Service to use for parsing incoming data and determining the data's schema.
Issue Identifierissue-identifierThe identifier of the existing issue which will be updated.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Issue Summaryissue-summaryThe summary of the issue. This property can either be a constant value, Expression Language or a @{Record Path} format, where the RecordPath is evaluated against each incoming Record. Expression Language is evaluated first.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

This Property is only considered if the [Record Reader] Property has a value specified.
Issue Descriptionissue-descriptionThe detailed description of the issue. This property can either be a constant value, Expression Language or a @{Record Path} format, where the RecordPath is evaluated against each incoming Record. Expression Language is evaluated first.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

This Property is only considered if the [Record Reader] Property has a value specified.
Issue Labelissue-labelThe label added to the issue.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

This Property is only considered if the [Record Reader] Property has a value specified.
Issue Commentissue-commentThe comment added to the issue.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

This Property is only considered if the [Record Reader] Property has a value specified.

Dynamic Properties:

Supports Sensitive Dynamic Properties: No

Dynamic Properties allow the user to specify both the name and value of a property.

NameValueDescription
An additional attribute to be added to the Jira issue.The attribute valueUser specified Dynamic Properties are set for Jira issue when a Record Reader is set. The key of the Dynamic Property should be a valid JsonPointer which denotes the JSON path where the extra property is inserted. The value of the property can be plain string, EL or RecordPath and will be inserted as a field value on the given path specified by the property key. In order to provide RecordPath values the @{Record Path Value} notation shall be used. See additional documentation for the Jira issue JSON.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Relationships:

NameDescription
successFor FlowFiles created as a result of a successful execution.
failureFor FlowFiles created as a result of an execution error.

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
mime.typeSets the MIME type to application/json
error.messageThe error message returned by PutJiraIssue.
record.countThe number of records processed.
jira.issue.idThe ID of the Jira issue.

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.

See Also:

GetJiraIssue, PutJiraIssue