-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Slack thread:
https://owasp.slack.com/archives/C2P5BA8MN/p1701210518937829
When enabling Engagement Epic mapping for Jira, there is no way to unlink an epic from an engagement metadata. This causes an issue for any engagement that was mapped to a Jira project - since the epic for the engagement will stay with the previous binding. There's no way to 'unlink' like you can with a Finding from a Jira issue, so when you enable engagement epic mapping in a product in DefectDojo, the engagement metadata stays with that and you can't change it. This is not ideal.
Bug description
A clear and concise description of what the bug is. For errors include at least the exact error message you are seeing (including traceback).
Steps to reproduce
Steps to reproduce the behavior:
- Set up Jira integration.
- Enable engagement epic mapping with Project A in DefectDojo.
- Push a Finding and have Jira Epic created. Verify in Engagement metadata.
- Delete Epic in Jira or change project in DefectDojo for Engagement.
- Experience bug behavior of no way to unlink or modify a mapped engagement to an epic.
- Push finding with new Jira Project B that was set up in Dojo.
- Experience bug error saying can't find Epic.
Expected behavior
A clear and concise description of what you expected to happen.
There should be a way to unlink the Engagements referenced / linked Epic in the metadata of the Products Engagement. If the Epic is deleted, or if the Product/Engagement metadata changes to reflect a new Jira Project - it should be possible to link to a new Epic and similar to the 'unlink' function with a Finding to a Jira Issue.
Because the Epic no longer exists and we tried to move the metadata to a new Jira Project, there's issues now because DefectDojo thinks the Epic is still mapped to the Engagement.
Deployment method (select with an X)
- Docker Compose
- Kubernetes
- GoDojo
Environment information\
- DefectDojo version - 2.27.3
- Ubuntu
Logs
Use docker-compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).
Sample scan files
If applicable, add sample scan files to help reproduce your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Add any other context about the problem here.