Open matteopessina opened 1 year ago
Thanks for using Orchestrator! This sounds like a bug, and I'm sure can be fixed.
ADO API allows filtering release search by ID, so we could: detect whether definitionName
parameter value is an ID, and then conditionally pass it to getReleaseDefinitions
function as definitionIdFilter
parameter.
Feel free to play with it and submit a PR.
Hi Dimitry, first of all, thank you for this extension: It is very useful.
Context: I have a YAML pipeline which use the orchestrator@2 task to approve a release in a classic release pipeline.
According to specification, definition name can be also the ID of the pipeline.
Tasks/OrchestratorV2/task.json
If the numeric ID of the pipeline is passed as an argument the task fails.
I searched in the code and the issue could be in
Tasks/OrchestratorV2/helpers/releasehelper.ts
In case you would like code contribution, I am interested in working together for a solution.
Best Matteo