Skip to content

Commit

Permalink
Add custom field examples to config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
free committed May 19, 2018
1 parent 390d3ec commit 2c67e7f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion config/jiralert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2c67e7f

Please sign in to comment.