Skip to content

Commit

Permalink
Set token to be recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmurp committed Feb 3, 2023
1 parent df19b9f commit 61a05d3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions providers/jira/JIRAConstants.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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\': { ',
Expand Down

0 comments on commit 61a05d3

Please sign in to comment.