DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.66k stars 568 forks source link

JIRA Integration doesn't work and it's not clear what values to enter #4237

Open DanOrsborne opened 1 week ago

DanOrsborne commented 1 week ago

Current Behavior

The integration doesn't work at all using username and password or API key or user and api key Consider also making the instructions clearer and having a 'Test connection' button on the setup page to confirm the details are correct.

Steps to Reproduce

1.Open JIRA page

  1. Add credentials and URL for JIRA
  2. Go to the Alerts page and enter the key and ticket type
  3. Press Test

Expected Issue is created in JIRA

Actual Nothing created and no feedback on the screen about the issue

Expected Behavior

Expected Issue is created in JIRA

Dependency-Track Version

4.7.x

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

Google Chrome

Checklist

DanOrsborne commented 1 week ago

Looking through the logs the error is:

2024-10-10 07:58:36,395 WARN [JiraPublisher] No JIRA ticket type configured; Skipping notification (PublishContext{notificationGroup=POLICY_VIOLATION, notificationLevel=INFORMATIONAL, notificationScope=PORTFOLIO, notificationTimestamp=2024-10-10T07:58:36.39549595Z, notificationSubjects={component=Component[uuid=94f87321-a5d1-4c2f-b2fe-95165debebc6, group=null, name=componentName, version=componentVersion], project=Project[uuid=c9c9539a-e381-4b36-ac52-6a7ab83b2c95, name=projectName, version=projectVersion]}}) [requestId=435c2ee7-9820-4bff-9334-43f99bd35fd6]

But the value is set in the Notification settings to BUG