You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I display a Snyk project in Backstage with some issues I don't see the priority scores - the whole column is empty. I would like to see the priority score of each issue there.
When investigating the problem I found out that the plugin is trying to fetch the priority score from a different path within the json response than where it is really stored. It is trying to fetch it from issueData.attributes.priority.score but in my case the score is located at issueData.attributes.risk.score.value.
When I display a Snyk project in Backstage with some issues I don't see the priority scores - the whole column is empty. I would like to see the priority score of each issue there.
When investigating the problem I found out that the plugin is trying to fetch the priority score from a different path within the json response than where it is really stored. It is trying to fetch it from
issueData.attributes.priority.score
but in my case the score is located atissueData.attributes.risk.score.value
.A link to the exact line where it is trying to reference the priority score:
https://github.com/snyk-tech-services/backstage-plugin-snyk/blob/main/src/components/SnykEntityComponent/components/SnykIssuesComponent.tsx#L41
node -v
:v20.17.0
npm -v
:10.8.2
Expected behaviour
Priority score of each issue will be displayed in the table of issues for each project.
Actual behaviour
The priority score column is empty for all issues.
Steps to reproduce
Set up snyk plugin and integrate an entity with an existing snyk project with unresolved issues.
Screenshots
The text was updated successfully, but these errors were encountered: