/
action.yml
81 lines (79 loc) · 2.95 KB
/
action.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: 'JiraTaskSync'
description: 'Sync GITHUB Issues with JIRA Tasks (or Subtasks)'
inputs:
GITHUB_TOKEN:
description: 'The token (should be a secret) to sync back information to Github'
required: true
default: null
JIRA_BASEURL:
description: 'hostname to connect to Jira (do not add https://)'
required: true
default: 'localhost'
JIRA_USEREMAIL:
description: 'user email/login address to use the token of'
required: true
default: 'BLANK'
JIRA_APITOKEN:
description: 'token to use to connect to JIRA'
required: true
default: 'http://localhost'
JIRA_PROJECTKEY:
description: 'the key (prefix) used by JIRA for the project'
required: true
default: 'BLA'
JIRA_ISSUETYPE_NAME:
description: 'the JIRA issue type to use in JIRA to track the GITHUB Issues'
required: true
default: 'Subtask'
JIRA_STATE_INPROGRESS:
description: 'the JIRA transition name equivalent to GITHUB assigned (In Progress)'
required: true
default: 'In Progress'
JIRA_STATE_DONE:
description: 'the JIRA transition name equivalent to GITHUB closed (Done)'
required: true
default: 'Done'
JIRA_STATE_TODO:
description: 'the JIRA transition name in JIRA equivalent to GITHUB open/reopened (To Do)'
required: true
default: 'To Do'
JIRA_DEFAULT_PARENT:
description: 'A default parent JIRA Issue to attach new subtask to (in Subtask mode)'
required: true
default: null
JIRA_DEFAULT_EPIC:
description: 'A default JIRA Epic to link new Issues to (in Epic Mode and Subtask mode)'
required: true
default: null
SUBTASK_MODE:
description: 'attach in JIRA to the labelled story/task as a subtask of the specified JIRA_ISSUETYPE_NAME or replace the story/task itself with GITHUB data'
required: true
default: true
EPIC_MODE:
description: 'link in JIRA to the Epic of the labelled story/task we attach to in subtask mode OR, in non-subtask mode, attach to the Epic labelled and create a new JIRA_ISSUETYPE_NAME if it does not exist in the labelled Epic'
required: true
default: false
ASSIGNEE_PUSH:
description: 'Whether we want to extract and push the first assignee email as found in GITHUB into the assignee field in JIRA'
required: true
default: false
FORCE_CREATION_LABEL:
description: 'The label to use when you want to force the creation of the issue in JIRA and have the created story as label in GITHUB'
required: true
default: CREATE-IN-JIRA
OWN_LABEL:
description: 'The label to use when you want to force the up sync to a specific JIRA story, independently of title, and other properties'
required: true
default: own
DEBUG_MODE:
description: 'Should log as many info as possible'
required: true
default: false
outputs: # output will be available to future step
status:
description: 'The status of the sync'
time:
description: 'when was the sync finished'
runs:
using: 'node12'
main: 'dist/index.js'