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

When using API for bom upload, autoCreate ignores Team of parent #4372

Open
2 tasks done
andyrozman opened this issue Nov 13, 2024 · 0 comments
Open
2 tasks done

When using API for bom upload, autoCreate ignores Team of parent #4372

andyrozman opened this issue Nov 13, 2024 · 0 comments
Labels
defect Something isn't working in triage

Comments

@andyrozman
Copy link

Current Behavior

At the moment when we use POST /v1/bom and specify autoCreate, child project is automatically created (if it doesn't exist), but that child doesn't get assigned team from parent.

There are several solutions how this could be fixed:

1.. autoCreate assigns team to child from parent (if project was auto-created)
2. Adding option to /v1/bom assignTeamFromParent: So child project (if created) would get parents Team assigned
3. Adding option to /v1/bom teamUuid which would assign team with specific uuid to project (if it was created)

Steps to Reproduce

  1. POST /v1/bom and specify autoCreate

Expected Behavior

When project is autocreated, and you specify parent, newly created child should have the same Team assignment as a parent.

Dependency-Track Version

4.12.0

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

N/A

Checklist

@andyrozman andyrozman added defect Something isn't working in triage labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

1 participant