From f3d29cd161994de7fe4596bd44e49e7d5b86d3dd Mon Sep 17 00:00:00 2001 From: Alex Higgs Date: Wed, 15 May 2024 12:26:36 +0100 Subject: [PATCH] Update ado_sync.yml --- .github/workflows/ado_sync.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ado_sync.yml b/.github/workflows/ado_sync.yml index 069ced10..5f5d366e 100644 --- a/.github/workflows/ado_sync.yml +++ b/.github/workflows/ado_sync.yml @@ -24,9 +24,9 @@ jobs: ado_project: "${{ vars.ADO_PROJECT_NAME }}" ado_area_path: "${{ vars.ADO_AREA_PATH }}" ado_iteration_path: "${{ vars.ADO_ITERATION_PATH }}" - ado_wit: "Product Backlog Item" + ado_wit: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Product Backlog Item' || 'Bug' }} ado_new_state: "New" - ado_active_state: "Active" - ado_close_state: "Closed" + ado_active_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Active' || 'Committed' }} + ado_close_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Closed' || 'Done' }} ado_bypassrules: true log_level: 100