Skip to content

Jira 9.0+ is not supported #6963

@pna-nca

Description

@pna-nca

Bug description
An error occurs when trying to integrate DefectDojo with Jira 9.0+, on altering product settings.

Steps to reproduce
Steps to reproduce the behavior:
0. Be sure that target Jira instance has version 9.0+.

  1. Configure Jira instance in DefectDojo settings.
  2. Go to the existing product and select "Settings --> Edit"
  3. In Jira integration settings provide the valid settings. Press "Submit".
  4. See non-descriptive error that Jira settings were not saved.

Expected behavior
A clear and concise error message why the error occurred.
Working without errors with Jira instances 9.0+. :)

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • DefectDojo version: 2.15.0

Logs
No logs without DEBUG mode.
In DEBUG mode the error is "invalid JIRA Project Config, can't retrieve metadata". See also below.

Additional context (optional)
Jira's createmeta endpoint is deprecated since 2020, see https://confluence.atlassian.com/jiracore/createmeta-rest-endpoint-to-be-removed-975040986.html
However, Jira python module still uses it, see pycontribs/jira#1462
DefectDojo uses jira.createmeta() call in get_jira_meta() function in jira_link/helper.py file.
Moreover, DefectDojo does not handle exception properly which may be triggered by jira.createmeta().
See pull request #6962.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions