From 2c67e7fbf737a345fc8d08964c9f662ea8d71b9a Mon Sep 17 00:00:00 2001 From: Alin Sinpalean Date: Sat, 19 May 2018 12:54:45 +0200 Subject: [PATCH] Add custom field examples to config file. --- config/jiralert.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/jiralert.yml b/config/jiralert.yml index 17b66a3..6ea5688 100644 --- a/config/jiralert.yml +++ b/config/jiralert.yml @@ -33,8 +33,15 @@ receivers: # JIRA components. Optional. components: [ 'Operations' ] # Standard or custom field values to set on created issue. Optional. + # + # See https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#setting-custom-field-data-for-other-field-types for further examples. fields: - foo: bar + # TextField + customfield_10001: "Random text" + # SelectList + customfield_10002: { "value": "red" } + # MultiSelect + customfield_10003: [{"value": "red" }, {"value": "blue" }, {"value": "green" }] # File containing template definitions. Required. template: jiralert.tmpl