From ded9f3ab5c11f8201036baa5ddb3b1d2a4864b3b Mon Sep 17 00:00:00 2001 From: roshini-c-ril <131640578+roshini-c-ril@users.noreply.github.com> Date: Tue, 20 Jun 2023 10:58:53 +0530 Subject: [PATCH 1/3] Create create_work_item.yaml Add work item template for ADO --- jsonnet/ADO/create_work_item.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 jsonnet/ADO/create_work_item.yaml diff --git a/jsonnet/ADO/create_work_item.yaml b/jsonnet/ADO/create_work_item.yaml new file mode 100644 index 0000000..c60bb8c --- /dev/null +++ b/jsonnet/ADO/create_work_item.yaml @@ -0,0 +1,12 @@ +name: ADO - Create WorkItem +slug: ADO-Create-WorkItem +language: jsonnet +template-code: | + [ + { + "op": "add", + "path": "/fields/System.Title", + "from": null, + "value": "Sample task created from Squadcast", + } + ] From 4f7c75086b2e190ca2a169b02b1ddc3a345d9117 Mon Sep 17 00:00:00 2001 From: roshini-c-ril <131640578+roshini-c-ril@users.noreply.github.com> Date: Tue, 20 Jun 2023 12:37:07 +0530 Subject: [PATCH 2/3] Update create_work_item.yaml --- jsonnet/ADO/create_work_item.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/jsonnet/ADO/create_work_item.yaml b/jsonnet/ADO/create_work_item.yaml index c60bb8c..a2e91db 100644 --- a/jsonnet/ADO/create_work_item.yaml +++ b/jsonnet/ADO/create_work_item.yaml @@ -2,11 +2,9 @@ name: ADO - Create WorkItem slug: ADO-Create-WorkItem language: jsonnet template-code: | - [ { "op": "add", "path": "/fields/System.Title", "from": null, "value": "Sample task created from Squadcast", } - ] From 7bf278d382a70ee5f3cfdf00b97f1ef316aa3483 Mon Sep 17 00:00:00 2001 From: roshini-c-ril <131640578+roshini-c-ril@users.noreply.github.com> Date: Tue, 20 Jun 2023 12:55:45 +0530 Subject: [PATCH 3/3] Update create_work_item.yaml --- jsonnet/ADO/create_work_item.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonnet/ADO/create_work_item.yaml b/jsonnet/ADO/create_work_item.yaml index a2e91db..1208754 100644 --- a/jsonnet/ADO/create_work_item.yaml +++ b/jsonnet/ADO/create_work_item.yaml @@ -2,9 +2,9 @@ name: ADO - Create WorkItem slug: ADO-Create-WorkItem language: jsonnet template-code: | - { + [{ "op": "add", "path": "/fields/System.Title", "from": null, "value": "Sample task created from Squadcast", - } + }]