-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
API /v1/bom should have a parameter parent #2412
Comments
Would be very helpful und maybe even necessary for something like that: jenkinsci/dependency-track-plugin#139 Workaround is to create project via |
"...finally update the project (including parent) with POST to /v1/project" Have you tried that? I can't get it to work, because /v1/project doesn't seem to accept neither "parent": "uuid" nor "parentUuid": "uuid" (400 Bad Request). |
I didn't test this step manually via curl or similar. But that's the way that the Dependency Track frontend takes. It uses the same API. When you open the "Project Details" dialog of a project without parent, you can select a new parent and press the "Update" button (that's the call to /v1/project). |
#2401 was recently addressed which allows setting the parent via a Edit: Being able to do it on bom upload (via name/version or UUID) could be advantageous as it would avoid the need for multiple quests. |
I was searching for this feature right now (/bom and parent). I thought I just missed it, but looks like I have to what a bit longer... |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Current Behavior
At the moment the API does not hava a parameter to specifiy the parent, when uploading a bom and using projectname/version.
Proposed Behavior
Add a parameter "parent" to /v1/bom which consumes and sets the parant on upload.
Checklist
The text was updated successfully, but these errors were encountered: