-
Notifications
You must be signed in to change notification settings - Fork 4
/
example-config.edn
37 lines (37 loc) · 1.35 KB
/
example-config.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
; URL prefix of your jira instance.
:url "https://jira.example.com"
; Any headers you want to add to requests (useful for auth).
:headers {"Cookie" #file ".cookie.txt"}
; or, with an oauth token:
;:headers {"Authorization" "Basic <base64-encoded-token-value>"}
; The rapid-view / sprint board id.
:rapid-view 123
; Project key.
:project "ABC"
; Jira username (might be something like "flastname").
:assignee #env USER
; Type of issue to create.
:issue-type "Task"
; Pattern to look for in commit messages. Should have single capture group.
:issue-pattern "\\[([A-Z]+-[0-9]+)\\]"
; A selmer template for how to add issue to commit messages.
:commit-template "[{{issue}}] {{summary}}\n\n{{description}}"
; Transition issue to this state.
:transition "ready for review"
; Pattern to match against sprint names when looking for current (first ACTIVE) sprint.
:sprint-pattern "."
; Values for defined custom fields.
:storypoints 1
; Aliases for custom fields so they are recognized by config/arguments.
:custom-fields
{
; Sprint-id will be filled in with "current sprint".
:sprint-id :customfield_12345
; Other fields can be specified on the command line or in config.
:storypoints :customfield_10001
}
:aliases
{example-alias {:doc "Custom alias command"
:args ["search" "--jql" "project = ABC AND statusCategory IN (…)"]}}
}