Open codebop opened 2 years ago
@codebop, we're going to implement this. To make it work we will add a couple of new fields in the Watch schema. When the user creates a policy, it's impossible to make it to create a ticket in a specific Jira profile. The Jira profile should be set in the Watch, then all the policies, assigned to it (with enabled ticket creation function) will create tickets in that particular Jira project. See the official documentation.
Unfortunately, the public API to get watch doesn't return the information about assigned Jira profiles. Which makes this field unverifiable. We've submitted an internal ticket with Xray team and hope it will be resolved soon.
Unfortunately I have the same problem. Is there any news after almost 3 years? :)
@midi89 Unfortunately we are still awaiting implementation of APIs to manage JIRA integration from the Xray team.
Currently both the xray_license_policy and xray_security_policy resources have the create_ticket_enabled parameter for the rule.actions object, but there is not a parameter to specify which Jira integration should be used.
Requested solution: Implement a jira_integration_name parameter (or some other name) for the xray_license_policy.rule.actions and xray_security_policy.rule.actions objects.
Additional Context: I want to be able to send different policy findings to different teams Jira projects at my company.
Cheers