We moved from Bamboo7 to v8. We are creating a plan using ACLI, but now the addRepository doesn't work as before.. the --branch "feature/<my_branch>" doesn't work anymore. The linked repository keeps pointing to the default, it's not overwritten in the plan.
--action createPlan --plan "STITESTCLISTIE-plan_7207_ts" --replace --projectName "STITESTCLISTIE"
--action addStage --plan @plan@ --stage "EXECUTE"
--action addJob --plan @plan@ --stage @[deleted]@ --job "my_job"
--action addTask --plan @plan@ --job @Job@ --taskKey "CHECKOUT" --description "some_text" --field1 "repository" --value1 ""
--action addTask --plan @plan@ --job @Job@ --taskKey "SCRIPT" --description "some_task" --final --fields "workingSubDirectory:STARSvb6,interpreter:shell" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "python ys_runner.py"
--action addRepository --plan @plan@ --name "my_repoName" --branch "feature/my_branch_name"
--action addBranch --plan @plan@ --branch "feature/my_branch_name" --name "YS-124541" --enable
So the end goal is that we have our branch checked-out on an agent iso the linked-repository. Any help is appreciated! Thanks
R. Woltering