Open bars0um opened 3 years ago
Short version: The approach you are currently using is probably the cleanest approach.
Long version: The utility can store bug links in FoD either as native FoD bug links, or in FoD issue comments. Depending on which approach you are using:
Native bug links: I would need to check with the FoD team whether FoD provides any functionality for removing all existing bug links from a release, but I doubt that this functionality exists. In SSC you could simply set the bug tracker configuration to 'None' in order to clear bug links, but I don't think this will work for FoD (you may want to double-check though). Even if that approach would work, the difficulty is that the bug tracker is configured at application level in FoD, so all bug links in all releases in that application would be cleared.
Bug links in comments: I don't think you can delete comments in FoD, and even if you could, it would be a tedious job to manually delete the bug link comment for every individual vulnerability. The utility does allow you though to configure the target name used in the comments through the commentTargetName
property. Changes to this property will result in all issues being re-submitted to the target system.
So, while testing different layouts you could do the following:
addNativeBugLink
property to false
addBugDataAsComment
property to true
commentTargetName
to a different value, for example ADO-test1
, ADO-test2
, ...You could even keep a copy of the configuration file for each test run around, allowing you to easily switch back and forth between your different test configurations. This could for example be useful if you wish to test bug state management with different configurations:
commentTargetName
set to test1
commentTargetName
to test2
Needless to say, for every commentTargetName
value, a new comment will be added to every submitted vulnerability. You may want to clean this up once you're done testing, using your original approach of deleting and recreating the application release.
@rsenden Thanks for your response!
I believe I've tried clearing the bug tracker setting on FoD but the tracker was still trying to synchronize bugs.
Perhaps an API call to just set the bug-links to blank for a release would work?
It may take a few turns for us to come up with the best setup for a specific team in terms of the bug template and the kind of information they would like in their tickets.
Is there an easy method to clean up and re-start the process with FoD-Azure?
At present I'm having to do the following:
Thanks!