-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
74 lines (74 loc) · 3.44 KB
/
action.yaml
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
name: "Jira ticket creation"
description: "Creates a Jira ticket base on the input of a previous action"
inputs:
JIRA_ON_CLOUD:
description: "If you are using Jira on Cloud set this environment variable to true"
required: false
default: false
JIRA_CLOUD_TOKEN:
description: "Github secret for the JIRA basic authentication token. NOTE: Should be in base64"
required: false
JIRA_USER:
description: "Github secret for the JIRA user email for external access"
required: false
JIRA_PASSWORD:
description: "Github secret for the JIRA API token for external access"
required: false
JIRA_PROJECT:
description: "The project key for Jira"
required: true
JIRA_URI:
description: "The Jira URI used for the REST API to make the requests to"
required: true
INPUT_JSON:
description: "The path where the JSON input to be parsed"
required: true
REPORT_INPUT_KEYS:
description: "A list of keys of the input JSON you provide that will be parsed and included in the report"
required: true
ISSUE_TYPE:
description: "The type of the issue to be used while searching for existing issues. This is needed in order to avoid duplicating already raised issues"
required: true
default: ""
RUNS_ON_GITHUB:
description: "Indicates if the action runs on GitHub or locally, on a Docker container, for testing purposes"
required: true
default: true
PRIORITY_MAPPER:
decription: "Maps the severity level of the reporting issue to the relevant Jira priority score"
required: false
default: ""
ISSUE_LABELS_MAPPER:
decription: "Maps the labels of the reporting issue to the relevant Jira labels field"
required: true
LOAD_BALANCER_COOKIE_ENABLED:
description: "Extra cookie needed for clustered Jira server to accommodate different Load Balancers such as F5, httpd etc."
required: false
default: ""
LOAD_BALANCER_COOKIE_NAME:
description: "The name of the cookie for the Load Balancer (if any used)"
required: false
default: ""
UPLOAD_FILES:
description: "Uploads a file to each Jira issue created based on a comparison of the file name and its relation to each ticket issueSummary"
required: false
default: false
UPLOAD_FILES_PATH:
description: "Used only if UPLOAD_FILES is set to true. It's the path holding the files to be uploaded"
required: false
default: false
JQL_SEARCH_PAYLOAD_RESOLVED_ISSUES:
description: "The filter you want to apply in order to check for issues that have already been resolved. It is the jql query you get from the \"Advanced\" section while searching Jira tickets and it's used for the duplication mechanism prevention."
required: false
default: ""
JQL_SEARCH_PAYLOAD_OPEN_ISSUES:
description: "The filter you want to apply in order to check for issues that are already Open. It is the jql query you get from the \"Advanced\" section while searching Jira tickets and it's used for the duplication mechanism prevention."
required: false
default: ""
EXTRA_JIRA_FIELDS:
description: "Provide the extra fields you need to include in the payload sent to Jira during an issue creation."
required: false
default: ""
runs:
using: "docker"
image: "Dockerfile"