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

Failed to open jira issue. The entered text is too long #621

Open
afagund opened this issue Oct 6, 2023 · 1 comment
Open

Failed to open jira issue. The entered text is too long #621

afagund opened this issue Oct 6, 2023 · 1 comment

Comments

@afagund
Copy link

afagund commented Oct 6, 2023

Description

Jira tickets for few vulnerability reports coming from Trivy Operator is not being opened. We are observing the following error in Postee logs:

Failed to open jira issue, {"errorMessages":[],"errors":{"description":"The entered text is too long. It exceeds the allowed limit of 32,767 characters."}}

This is happening with the postee.trivyoperator.jira template. Is there a way to prevent such error and make sure the ticket is opened?

What did you expect to happen?

The Jira ticket to be opened

What happened instead?

The Jira ticket is not being opened

Output of run with POSTEE_DEBUG=true:

(paste your output here)

Additional details (environment setup, networking info...):

Docker image:
postee:2.14.0-amd64

Configuration:

name: tenant
max-db-size: 1000MB
db-verify-interval: 1

routes:
- name: Trivy Operator Alerts
  input: input.report.summary.criticalCount > 0
  actions: [jira]
  template: trivy-operator-jira
  plugins:
    unique-message-props: ["report.artifact.digest", "report.vulnerabilities"]
    unique-message-timeout: 30d

templates:
- name: trivy-operator-jira
  rego-package: postee.trivyoperator.jira

actions:
- name: jira
  type: jira
  enable: true
  url: "xxxx"
  user: "xxxx"
  password: "xxxx"
  project-key: "xxxx"
@afagund
Copy link
Author

afagund commented Feb 14, 2024

Is this project still being maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant