diff --git a/providers/jira/JIRAConstants.groovy b/providers/jira/JIRAConstants.groovy index f249006..664345e 100644 --- a/providers/jira/JIRAConstants.groovy +++ b/providers/jira/JIRAConstants.groovy @@ -28,16 +28,16 @@ public class JIRAConstants { static def PROVIDER_DESCRIPTION = [ 'JIRA provider. Configuration fields are below', - '(Required)' + SERVER_URL + ': The JIRA URL to connect to', - '(Optional)' + TOKEN + ': A personal access token. Required if not using username and password.', - '(Optional)' + USERNAME + ': User name. Required if not using a personal access token.', - '(Optional)' + PASSWORD + ': Password. Required if not using a personal access token.', - '(Required)' + PROJECTKEY + ': Project Key', - '(Optional)' + ISSUETYPE + ': Issue Type.Default value is bug', - '(Optional)' + SUMMARY + ': Override default issue summary. Issue attributes can be included with %% substitution variables. For example the default is \'AppScan: %IssueType% found at %Location%\'', - '(Optional)' + SEVERITYFIELD + ': Field Id that corresponds to \'priority\' or \'severity\'. This field will be populated with the AppScan Issue Severity. Default value = \'priority\'', - '(Optional)' + SEVERITYMAP + ': Map of AppScan Severities to JIRA Priorities. If set, a mapping must be provided for High, Medium, Low, Informational', - '(Optional)' + OTHERFIELDS + ': Additional JSON that should be sent when creating JIRA issues. For example: { labels: [\'appscan\',\'security\'] }', + '(Required)' + SERVER_URL + ': The JIRA URL to connect to', + '(Recommended)' + TOKEN + ': A personal access token. Required if not using username and password.', + '(Optional)' + USERNAME + ': User name. Required if not using a personal access token.', + '(Optional)' + PASSWORD + ': Password. Required if not using a personal access token.', + '(Required)' + PROJECTKEY + ': Project Key', + '(Optional)' + ISSUETYPE + ': Issue Type.Default value is bug', + '(Optional)' + SUMMARY + ': Override default issue summary. Issue attributes can be included with %% substitution variables. For example the default is \'AppScan: %IssueType% found at %Location%\'', + '(Optional)' + SEVERITYFIELD + ': Field Id that corresponds to \'priority\' or \'severity\'. This field will be populated with the AppScan Issue Severity. Default value = \'priority\'', + '(Optional)' + SEVERITYMAP + ': Map of AppScan Severities to JIRA Priorities. If set, a mapping must be provided for High, Medium, Low, Informational', + '(Optional)' + OTHERFIELDS + ': Additional JSON that should be sent when creating JIRA issues. For example: { labels: [\'appscan\',\'security\'] }', 'Complete JSON Example: (replace single quotes with double quotes and ignore leading and trailing double quotes on each line) ', ' { ', ' \'appscanData\': { ',