monasca-notification/monasca_notification/plugins/jiraformat.yml
Haneef Ali 970f01f618 Add Jira Plugin
Depends-On: I246ced3fe22a9797a3c8384f7bda166797cfac3a
Change-Id: I2dc5e2a03a2a8e2e643ea8dd318f4426324d4396
2016-09-23 11:06:56 -07:00

38 lines
1.2 KiB
YAML

# Refer the following url for request parameters.
jira_format:
# Message to be displayed. This is in Jinja2 format and can be customized.
# notification.alarm_id
# notification.alarm_name
# notification.alarm_timestamp
# notification.message
# notification.name
# notification.notification_timestamp
# notification.src_partition
# notification.src_offset
# notification.state
# notification.severity
# notification.link
# notification.lifecycle_state
# notification.tenant_id
# notification.type
# notification.metrics
# notification.retry_count
# notification.raw_alarm
# notification.period
# notification.periodic_topic
# Please include alarm_id in summary as it is used for searching the issues
summary: Alaram created for {{ notification.alarm_name }} with severity {{ notification.state }} for {{ notification.alarm_id }}
description : "{{ notification.alarm_name }}"
comments : |
AlarmName: {{ notification.alarm_name }}
AlarmId: {{ notification.alarm_id }}
AlarmTimestamp: {{ notification.alarm_time_stamp}}
message: {{ notification.message}}
state: {{ notification.state}}
severity: {{ notification.severity}}