Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify Jira integration #23

Open
codebop opened this issue Dec 29, 2021 · 2 comments
Open

Ability to specify Jira integration #23

codebop opened this issue Dec 29, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request no API support Xray doesn't have API to support this feature on hold Not decided whether we're doing it or not

Comments

@codebop
Copy link

codebop commented Dec 29, 2021

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

@alexhung alexhung added the enhancement New feature or request label Jan 4, 2022
@danielmkn danielmkn self-assigned this Mar 21, 2022
@danielmkn
Copy link
Collaborator

@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.

@danielmkn danielmkn added on hold Not decided whether we're doing it or not no API support Xray doesn't have API to support this feature labels Mar 28, 2022
@danielmkn
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no API support Xray doesn't have API to support this feature on hold Not decided whether we're doing it or not
Projects
None yet
Development

No branches or pull requests

3 participants