AWS solutions documentation change
Summary
Added Jira field configuration documentation with JSON examples and API references
Security assessment
Documentation update provides operational configuration details for ticket management without addressing security vulnerabilities or describing security controls
Diff
diff --git a/solutions/latest/automated-security-response-on-aws/deployment-stackset.md b/solutions/latest/automated-security-response-on-aws/deployment-stackset.md index 1423c8d24..2b5eacc1a 100644 --- a//solutions/latest/automated-security-response-on-aws/deployment-stackset.md +++ b//solutions/latest/automated-security-response-on-aws/deployment-stackset.md @@ -152,0 +153,40 @@ You can choose to use a Jira API key in place of your password by providing your +**Jira Field Configuration** : + +After deploying the Jira stack, you can customize Jira ticket fields by setting the `JIRA_FIELDS_MAPPING` environment variable on the Lambda function. This JSON string overrides default Jira ticket fields and must follow the Jira API fields structure. + +Default values when `JIRA_FIELDS_MAPPING` is empty or fields are not specified: + + * **priority** : `{"id": "3"}` (Medium priority) + + * **issuetype** : `{"id": "10006"}` (Task) + + * **accountId** : Automatically retrieved using the `GET /rest/api/2/myself` API endpoint + +Example configuration with custom fields: + + { + "reporter": {"accountId": "123456:494dcbff-1b80-482c-a89d-56ae81c145a4"}, + "priority": {"id": "1"}, + "issuetype": {"id": "10006"}, + "assignee": {"accountId": "123456:another-user-id"}, + "customfield_10001": "custom value" + } + +Common Jira field IDs: + + * **Priority IDs** : 1 (Highest), 2 (High), 3 (Medium), 4 (Low), 5 (Lowest) + + * **Issue Type ID** : Varies by Jira project (e.g., 10006 for Task) + + * **Account ID** : Format `123456:494dcbff-1b80-482c-a89d-56ae81c145a4` + +You can find your Jira field IDs and account IDs using the Jira REST API: + + * `GET /rest/api/2/myself` for account ID + + * `GET /rest/api/2/priority` for priority IDs + + * `GET /rest/api/2/project/{projectKey}` for issue type IDs + +For more information, refer to the [Jira REST API v2 Issue POST format](https://developer.atlassian.com/server/jira/platform/rest/v10000/api-group-issue/#api-api-2-issue-post). +