@camunda/connectors-element-templates 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/package.json +2 -2
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +31 -31
  4. package/src/element-templates/agenticai-aiagent-job-worker.json +180 -180
  5. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3080 -3080
  6. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  7. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
  8. package/src/element-templates/asana-connector.json +107 -107
  9. package/src/element-templates/automation-anywhere-outbound-connector.json +575 -575
  10. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
  11. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
  12. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
  13. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
  14. package/src/element-templates/aws-bedrock-outbound-connector.json +1 -1
  15. package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
  16. package/src/element-templates/aws-dynamodb-outbound-connector.json +3079 -1727
  17. package/src/element-templates/aws-eventbridge-connector-boundary.json +33 -33
  18. package/src/element-templates/aws-eventbridge-connector-intermediate.json +28 -28
  19. package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
  20. package/src/element-templates/aws-eventbridge-outbound-connector.json +289 -289
  21. package/src/element-templates/aws-lambda-outbound-connector.json +45 -45
  22. package/src/element-templates/aws-s3-outbound-connector.json +705 -32
  23. package/src/element-templates/aws-sagemaker-outbound-connector.json +1 -1
  24. package/src/element-templates/aws-sns-inbound-boundary.json +203 -203
  25. package/src/element-templates/aws-sns-inbound-intermediate.json +217 -217
  26. package/src/element-templates/aws-sns-inbound-message-start.json +237 -237
  27. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  28. package/src/element-templates/aws-sns-outbound-connector.json +68 -68
  29. package/src/element-templates/aws-sqs-boundary-connector.json +415 -415
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +500 -500
  31. package/src/element-templates/aws-sqs-outbound-connector.json +390 -390
  32. package/src/element-templates/aws-sqs-start-event-connector.json +409 -409
  33. package/src/element-templates/aws-textract-outbound-connector.json +124 -124
  34. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  35. package/src/element-templates/azure-open-ai-connector.json +1 -1
  36. package/src/element-templates/blue-prism-connector.json +52 -52
  37. package/src/element-templates/box-outbound-connector.json +49 -49
  38. package/src/element-templates/csv-outbound-connector.json +452 -3
  39. package/src/element-templates/easy-post-connector.json +262 -262
  40. package/src/element-templates/email-outbound-connector.json +1 -1
  41. package/src/element-templates/embeddings-vector-database-outbound-connector.json +1 -1
  42. package/src/element-templates/github-connector.json +10051 -10051
  43. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  44. package/src/element-templates/github-webhook-connector-start-event.json +26 -26
  45. package/src/element-templates/gitlab-connector.json +1081 -1081
  46. package/src/element-templates/google-cloud-storage-outbound-connector.json +1 -1
  47. package/src/element-templates/google-drive-outbound-connector.json +361 -361
  48. package/src/element-templates/google-gemini-outbound-connector.json +33 -33
  49. package/src/element-templates/google-maps-platform-connector.json +81 -81
  50. package/src/element-templates/google-sheets-outbound-connector.json +1124 -1124
  51. package/src/element-templates/graphql-outbound-connector.json +1813 -1706
  52. package/src/element-templates/http-json-connector.json +3412 -1814
  53. package/src/element-templates/http-polling-boundary-catch-event-connector.json +102 -0
  54. package/src/element-templates/http-polling-connector.json +825 -723
  55. package/src/element-templates/hubspot-outbound-connector.json +59 -59
  56. package/src/element-templates/hugging-face-connector.json +75 -75
  57. package/src/element-templates/jdbc-outbound-connector.json +1 -1
  58. package/src/element-templates/kafka-inbound-connector-boundary.json +976 -976
  59. package/src/element-templates/kafka-inbound-connector-intermediate.json +501 -501
  60. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  61. package/src/element-templates/kafka-outbound-connector.json +177 -177
  62. package/src/element-templates/microsoft-office365-mail-connector.json +1059 -73
  63. package/src/element-templates/microsoft-teams-outbound-connector.json +4489 -4489
  64. package/src/element-templates/openai-connector.json +238 -238
  65. package/src/element-templates/operate-connector.json +136 -136
  66. package/src/element-templates/power-automate-connector.json +19 -19
  67. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +443 -443
  68. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +765 -765
  69. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +352 -352
  70. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +337 -337
  71. package/src/element-templates/rabbitmq-outbound-connector.json +326 -326
  72. package/src/element-templates/salesforce-connector.json +59 -59
  73. package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
  74. package/src/element-templates/send-message-connector-message-end-event.json +1 -1
  75. package/src/element-templates/send-message-connector-send-task.json +1 -1
  76. package/src/element-templates/sendgrid-outbound-connector.json +636 -636
  77. package/src/element-templates/servicenow-connector.json +1 -1
  78. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  79. package/src/element-templates/servicenow-incident-connector.json +1 -1
  80. package/src/element-templates/slack-inbound-boundary.json +266 -266
  81. package/src/element-templates/slack-inbound-intermediate.json +557 -557
  82. package/src/element-templates/slack-inbound-message-start.json +334 -334
  83. package/src/element-templates/slack-inbound-start-event.json +128 -128
  84. package/src/element-templates/slack-outbound-connector.json +1415 -1415
  85. package/src/element-templates/soap-outbound-connector.json +1 -1
  86. package/src/element-templates/twilio-connector.json +354 -354
  87. package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
  88. package/src/element-templates/twilio-webhook-connector.json +29 -29
  89. package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
  90. package/src/element-templates/twilio-webhook-message-start-connector.json +17 -17
  91. package/src/element-templates/uipath-connector.json +56 -56
  92. package/src/element-templates/webhook-connector-boundary.json +114 -114
  93. package/src/element-templates/webhook-connector-intermediate.json +1129 -1129
  94. package/src/element-templates/webhook-connector-start-event.json +1293 -1293
  95. package/src/element-templates/webhook-connector-start-message.json +537 -537
  96. package/src/element-templates/whatsapp-connector.json +51 -51
@@ -1505,26 +1505,8 @@
1505
1505
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1506
1506
  "name": "GitLab Outbound Connector",
1507
1507
  "id": "io.camunda.connectors.GitLab.v1",
1508
- "version": 6,
1509
- "description": "Manage GitLab issues, branches, releases, and more",
1510
- "metadata": {
1511
- "keywords": [
1512
- "create issue",
1513
- "delete issue",
1514
- "comment to issue",
1515
- "search issues",
1516
- "get issue by ID",
1517
- "get releases by project ID",
1518
- "get release by tag name",
1519
- "create release",
1520
- "list repository branches",
1521
- "create repository branch",
1522
- "create repository file",
1523
- "get repository file",
1524
- "update repository file",
1525
- "create merge request"
1526
- ]
1527
- },
1508
+ "version": 5,
1509
+ "description": "Administer and work with issues, releases, and more",
1528
1510
  "icon": {
1529
1511
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
1530
1512
  },
@@ -1536,9 +1518,6 @@
1536
1518
  "elementType": {
1537
1519
  "value": "bpmn:ServiceTask"
1538
1520
  },
1539
- "engines": {
1540
- "camunda": "^8.3"
1541
- },
1542
1521
  "groups": [
1543
1522
  {
1544
1523
  "id": "endpoint",
@@ -2031,7 +2010,7 @@
2031
2010
  },
2032
2011
  {
2033
2012
  "label": "Issue ID",
2034
- "description": "The internal ID of a project\u2019s issue",
2013
+ "description": "The internal ID of a project’s issue",
2035
2014
  "group": "operation",
2036
2015
  "type": "String",
2037
2016
  "feel": "optional",
@@ -2119,22 +2098,9 @@
2119
2098
  "oneOf": ["createAnIssue"]
2120
2099
  }
2121
2100
  },
2122
- {
2123
- "id": "skipEncoding",
2124
- "label": "Skip URL encoding",
2125
- "description": "Skip the default URL decoding and encoding behavior",
2126
- "optional": true,
2127
- "group": "endpoint",
2128
- "binding": {
2129
- "name": "skipEncoding",
2130
- "type": "zeebe:input"
2131
- },
2132
- "value": "true",
2133
- "type": "Hidden"
2134
- },
2135
2101
  {
2136
2102
  "label": "Issue ID",
2137
- "description": "The internal ID of a project\u2019s issue",
2103
+ "description": "The internal ID of a project’s issue",
2138
2104
  "group": "operation",
2139
2105
  "type": "String",
2140
2106
  "feel": "optional",
@@ -2164,7 +2130,7 @@
2164
2130
  },
2165
2131
  {
2166
2132
  "label": "Issue ID",
2167
- "description": "The internal ID of a project\u2019s issue",
2133
+ "description": "The internal ID of a project’s issue",
2168
2134
  "group": "operation",
2169
2135
  "type": "String",
2170
2136
  "feel": "optional",
@@ -3097,7 +3063,7 @@
3097
3063
  },
3098
3064
  {
3099
3065
  "label": "Error expression",
3100
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
3066
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
3101
3067
  "group": "errors",
3102
3068
  "type": "Text",
3103
3069
  "feel": "required",
@@ -3106,7 +3072,10 @@
3106
3072
  "key": "errorExpression"
3107
3073
  }
3108
3074
  }
3109
- ]
3075
+ ],
3076
+ "engines": {
3077
+ "camunda": "^8.5"
3078
+ }
3110
3079
  },
3111
3080
  {
3112
3081
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -4012,8 +3981,28 @@
4012
3981
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4013
3982
  "name": "GitLab Outbound Connector",
4014
3983
  "id": "io.camunda.connectors.GitLab.v1",
4015
- "version": 5,
4016
- "description": "Administer and work with issues, releases, and more",
3984
+ "version": 7,
3985
+ "engines": {
3986
+ "camunda": "^8.3"
3987
+ },
3988
+ "description": "Manage GitLab issues, branches, releases, and more",
3989
+ "keywords": [
3990
+ "get issue by ID",
3991
+ "create issue",
3992
+ "delete issue",
3993
+ "comment to issue",
3994
+ "search issues",
3995
+ "list releases",
3996
+ "get release by tag name",
3997
+ "create release",
3998
+ "list branches",
3999
+ "create branch",
4000
+ "create repository file",
4001
+ "get repository file",
4002
+ "update repository file",
4003
+ "create merge request",
4004
+ "repository"
4005
+ ],
4017
4006
  "icon": {
4018
4007
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
4019
4008
  },
@@ -4517,7 +4506,7 @@
4517
4506
  },
4518
4507
  {
4519
4508
  "label": "Issue ID",
4520
- "description": "The internal ID of a project’s issue",
4509
+ "description": "The internal ID of a project\u2019s issue",
4521
4510
  "group": "operation",
4522
4511
  "type": "String",
4523
4512
  "feel": "optional",
@@ -4605,9 +4594,22 @@
4605
4594
  "oneOf": ["createAnIssue"]
4606
4595
  }
4607
4596
  },
4597
+ {
4598
+ "id": "skipEncoding",
4599
+ "label": "Skip URL encoding",
4600
+ "description": "Skip the default URL decoding and encoding behavior",
4601
+ "optional": true,
4602
+ "group": "endpoint",
4603
+ "binding": {
4604
+ "name": "skipEncoding",
4605
+ "type": "zeebe:input"
4606
+ },
4607
+ "value": "true",
4608
+ "type": "Hidden"
4609
+ },
4608
4610
  {
4609
4611
  "label": "Issue ID",
4610
- "description": "The internal ID of a project’s issue",
4612
+ "description": "The internal ID of a project\u2019s issue",
4611
4613
  "group": "operation",
4612
4614
  "type": "String",
4613
4615
  "feel": "optional",
@@ -4637,7 +4639,7 @@
4637
4639
  },
4638
4640
  {
4639
4641
  "label": "Issue ID",
4640
- "description": "The internal ID of a project’s issue",
4642
+ "description": "The internal ID of a project\u2019s issue",
4641
4643
  "group": "operation",
4642
4644
  "type": "String",
4643
4645
  "feel": "optional",
@@ -5570,7 +5572,7 @@
5570
5572
  },
5571
5573
  {
5572
5574
  "label": "Error expression",
5573
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
5575
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
5574
5576
  "group": "errors",
5575
5577
  "type": "Text",
5576
5578
  "feel": "required",
@@ -5578,17 +5580,38 @@
5578
5580
  "type": "zeebe:taskHeader",
5579
5581
  "key": "errorExpression"
5580
5582
  }
5583
+ },
5584
+ {
5585
+ "id": "version",
5586
+ "label": "Version",
5587
+ "description": "Version of the element template",
5588
+ "value": "7",
5589
+ "group": "connector",
5590
+ "binding": {
5591
+ "key": "elementTemplateVersion",
5592
+ "type": "zeebe:taskHeader"
5593
+ },
5594
+ "type": "Hidden"
5595
+ },
5596
+ {
5597
+ "id": "id",
5598
+ "label": "ID",
5599
+ "description": "ID of the element template",
5600
+ "value": "io.camunda.connectors.GitLab.v1",
5601
+ "group": "connector",
5602
+ "binding": {
5603
+ "key": "elementTemplateId",
5604
+ "type": "zeebe:taskHeader"
5605
+ },
5606
+ "type": "Hidden"
5581
5607
  }
5582
- ],
5583
- "engines": {
5584
- "camunda": "^8.5"
5585
- }
5608
+ ]
5586
5609
  },
5587
5610
  {
5588
5611
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
5589
- "name": "GitLab Outbound Connector",
5612
+ "name": "GitLab connector",
5590
5613
  "id": "io.camunda.connectors.GitLab.v1",
5591
- "version": 3,
5614
+ "version": 1,
5592
5615
  "description": "Administer and work with issues and releases",
5593
5616
  "icon": {
5594
5617
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
@@ -5650,8 +5673,8 @@
5650
5673
  "constraints": {
5651
5674
  "notEmpty": true,
5652
5675
  "pattern": {
5653
- "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
5654
- "message": "Must be a http(s) URL"
5676
+ "value": "^(=|(http://|https://|secrets).*$)",
5677
+ "message": "Must be a http(s) URL."
5655
5678
  }
5656
5679
  }
5657
5680
  },
@@ -6486,10 +6509,28 @@
6486
6509
  },
6487
6510
  {
6488
6511
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
6489
- "name": "GitLab connector",
6512
+ "name": "GitLab Outbound Connector",
6490
6513
  "id": "io.camunda.connectors.GitLab.v1",
6491
- "version": 1,
6492
- "description": "Administer and work with issues and releases",
6514
+ "version": 6,
6515
+ "description": "Manage GitLab issues, branches, releases, and more",
6516
+ "metadata": {
6517
+ "keywords": [
6518
+ "create issue",
6519
+ "delete issue",
6520
+ "comment to issue",
6521
+ "search issues",
6522
+ "get issue by ID",
6523
+ "get releases by project ID",
6524
+ "get release by tag name",
6525
+ "create release",
6526
+ "list repository branches",
6527
+ "create repository branch",
6528
+ "create repository file",
6529
+ "get repository file",
6530
+ "update repository file",
6531
+ "create merge request"
6532
+ ]
6533
+ },
6493
6534
  "icon": {
6494
6535
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
6495
6536
  },
@@ -6501,6 +6542,9 @@
6501
6542
  "elementType": {
6502
6543
  "value": "bpmn:ServiceTask"
6503
6544
  },
6545
+ "engines": {
6546
+ "camunda": "^8.3"
6547
+ },
6504
6548
  "groups": [
6505
6549
  {
6506
6550
  "id": "endpoint",
@@ -6550,8 +6594,8 @@
6550
6594
  "constraints": {
6551
6595
  "notEmpty": true,
6552
6596
  "pattern": {
6553
- "value": "^(=|(http://|https://|secrets).*$)",
6554
- "message": "Must be a http(s) URL."
6597
+ "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
6598
+ "message": "Must be a http(s) URL"
6555
6599
  }
6556
6600
  }
6557
6601
  },
@@ -6593,6 +6637,18 @@
6593
6637
  {
6594
6638
  "name": "Releases",
6595
6639
  "value": "releases"
6640
+ },
6641
+ {
6642
+ "name": "Branches",
6643
+ "value": "branches"
6644
+ },
6645
+ {
6646
+ "name": "Repository files",
6647
+ "value": "repositoryFiles"
6648
+ },
6649
+ {
6650
+ "name": "Merge requests",
6651
+ "value": "mergeRequests"
6596
6652
  }
6597
6653
  ],
6598
6654
  "binding": {
@@ -6667,64 +6723,211 @@
6667
6723
  }
6668
6724
  },
6669
6725
  {
6670
- "type": "Hidden",
6671
- "value": "get",
6726
+ "label": "Operation",
6727
+ "id": "branchOperation",
6728
+ "group": "operation",
6729
+ "description": "Choose operation to perform",
6730
+ "type": "Dropdown",
6731
+ "choices": [
6732
+ {
6733
+ "name": "List repository branches",
6734
+ "value": "getRepositoryBranchesByProjectId"
6735
+ },
6736
+ {
6737
+ "name": "Create repository branch",
6738
+ "value": "createRepositoryBranch"
6739
+ }
6740
+ ],
6672
6741
  "binding": {
6673
6742
  "type": "zeebe:input",
6674
- "name": "method"
6743
+ "name": "operation"
6675
6744
  },
6676
6745
  "condition": {
6677
- "property": "releaseOperation",
6678
- "oneOf": ["getReleasesByProjectId", "getReleaseByTagName"]
6746
+ "property": "operationGroup",
6747
+ "equals": "branches"
6679
6748
  }
6680
6749
  },
6681
6750
  {
6682
- "type": "Hidden",
6683
- "value": "get",
6751
+ "label": "Operation",
6752
+ "id": "reposOperation",
6753
+ "group": "operation",
6754
+ "description": "Choose operation to perform",
6755
+ "type": "Dropdown",
6756
+ "choices": [
6757
+ {
6758
+ "name": "Create new file in repository",
6759
+ "value": "createRepositoryFile"
6760
+ },
6761
+ {
6762
+ "name": "Get file from repository",
6763
+ "value": "getRepositoryFile"
6764
+ },
6765
+ {
6766
+ "name": "Update existing file in repository",
6767
+ "value": "updateRepositoryFile"
6768
+ }
6769
+ ],
6684
6770
  "binding": {
6685
6771
  "type": "zeebe:input",
6686
- "name": "method"
6772
+ "name": "operation"
6687
6773
  },
6688
6774
  "condition": {
6689
- "property": "issueOperation",
6690
- "oneOf": ["getIssueById", "searchIssues"]
6775
+ "property": "operationGroup",
6776
+ "equals": "repositoryFiles"
6691
6777
  }
6692
6778
  },
6693
6779
  {
6694
- "type": "Hidden",
6695
- "value": "post",
6780
+ "label": "Operation",
6781
+ "id": "mergeOperation",
6782
+ "group": "operation",
6783
+ "description": "Choose operation to perform",
6784
+ "type": "Dropdown",
6785
+ "choices": [
6786
+ {
6787
+ "name": "Create merge request",
6788
+ "value": "createMergeRequest"
6789
+ }
6790
+ ],
6696
6791
  "binding": {
6697
6792
  "type": "zeebe:input",
6698
- "name": "method"
6793
+ "name": "operation"
6699
6794
  },
6700
6795
  "condition": {
6701
- "property": "releaseOperation",
6702
- "oneOf": ["createRelease"]
6796
+ "property": "operationGroup",
6797
+ "equals": "mergeRequests"
6703
6798
  }
6704
6799
  },
6705
6800
  {
6706
6801
  "type": "Hidden",
6707
- "value": "post",
6802
+ "value": "get",
6708
6803
  "binding": {
6709
6804
  "type": "zeebe:input",
6710
6805
  "name": "method"
6711
6806
  },
6712
6807
  "condition": {
6713
- "property": "issueOperation",
6714
- "oneOf": ["commentToAnIssue", "createAnIssue"]
6808
+ "property": "branchOperation",
6809
+ "oneOf": ["getRepositoryBranchesByProjectId"]
6715
6810
  }
6716
6811
  },
6717
6812
  {
6718
6813
  "type": "Hidden",
6719
- "value": "delete",
6814
+ "value": "get",
6720
6815
  "binding": {
6721
6816
  "type": "zeebe:input",
6722
6817
  "name": "method"
6723
6818
  },
6724
6819
  "condition": {
6725
- "property": "issueOperation",
6726
- "oneOf": ["deleteAnIssue"]
6727
- }
6820
+ "property": "releaseOperation",
6821
+ "oneOf": ["getReleasesByProjectId", "getReleaseByTagName"]
6822
+ }
6823
+ },
6824
+ {
6825
+ "type": "Hidden",
6826
+ "value": "get",
6827
+ "binding": {
6828
+ "type": "zeebe:input",
6829
+ "name": "method"
6830
+ },
6831
+ "condition": {
6832
+ "property": "issueOperation",
6833
+ "oneOf": ["getIssueById", "searchIssues"]
6834
+ }
6835
+ },
6836
+ {
6837
+ "type": "Hidden",
6838
+ "value": "post",
6839
+ "binding": {
6840
+ "type": "zeebe:input",
6841
+ "name": "method"
6842
+ },
6843
+ "condition": {
6844
+ "property": "mergeOperation",
6845
+ "oneOf": ["createMergeRequest"]
6846
+ }
6847
+ },
6848
+ {
6849
+ "type": "Hidden",
6850
+ "value": "post",
6851
+ "binding": {
6852
+ "type": "zeebe:input",
6853
+ "name": "method"
6854
+ },
6855
+ "condition": {
6856
+ "property": "reposOperation",
6857
+ "oneOf": ["createRepositoryFile"]
6858
+ }
6859
+ },
6860
+ {
6861
+ "type": "Hidden",
6862
+ "value": "get",
6863
+ "binding": {
6864
+ "type": "zeebe:input",
6865
+ "name": "method"
6866
+ },
6867
+ "condition": {
6868
+ "property": "reposOperation",
6869
+ "oneOf": ["getRepositoryFile"]
6870
+ }
6871
+ },
6872
+ {
6873
+ "type": "Hidden",
6874
+ "value": "put",
6875
+ "binding": {
6876
+ "type": "zeebe:input",
6877
+ "name": "method"
6878
+ },
6879
+ "condition": {
6880
+ "property": "reposOperation",
6881
+ "oneOf": ["updateRepositoryFile"]
6882
+ }
6883
+ },
6884
+ {
6885
+ "type": "Hidden",
6886
+ "value": "post",
6887
+ "binding": {
6888
+ "type": "zeebe:input",
6889
+ "name": "method"
6890
+ },
6891
+ "condition": {
6892
+ "property": "branchOperation",
6893
+ "oneOf": ["createRepositoryBranch"]
6894
+ }
6895
+ },
6896
+ {
6897
+ "type": "Hidden",
6898
+ "value": "post",
6899
+ "binding": {
6900
+ "type": "zeebe:input",
6901
+ "name": "method"
6902
+ },
6903
+ "condition": {
6904
+ "property": "releaseOperation",
6905
+ "oneOf": ["createRelease"]
6906
+ }
6907
+ },
6908
+ {
6909
+ "type": "Hidden",
6910
+ "value": "post",
6911
+ "binding": {
6912
+ "type": "zeebe:input",
6913
+ "name": "method"
6914
+ },
6915
+ "condition": {
6916
+ "property": "issueOperation",
6917
+ "oneOf": ["commentToAnIssue", "createAnIssue"]
6918
+ }
6919
+ },
6920
+ {
6921
+ "type": "Hidden",
6922
+ "value": "delete",
6923
+ "binding": {
6924
+ "type": "zeebe:input",
6925
+ "name": "method"
6926
+ },
6927
+ "condition": {
6928
+ "property": "issueOperation",
6929
+ "oneOf": ["deleteAnIssue"]
6930
+ }
6728
6931
  },
6729
6932
  {
6730
6933
  "label": "Project ID",
@@ -6740,38 +6943,73 @@
6740
6943
  "notEmpty": true
6741
6944
  },
6742
6945
  "condition": {
6743
- "property": "issueOperation",
6744
- "oneOf": ["getIssueById"]
6946
+ "property": "mergeOperation",
6947
+ "oneOf": ["createMergeRequest"]
6745
6948
  }
6746
6949
  },
6747
6950
  {
6748
- "label": "Issue ID",
6749
- "description": "The internal ID of a project’s issue",
6951
+ "label": "Project ID",
6952
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6750
6953
  "group": "operation",
6751
6954
  "type": "String",
6752
6955
  "feel": "optional",
6753
6956
  "binding": {
6754
6957
  "type": "zeebe:input",
6755
- "name": "issueId"
6958
+ "name": "projectId"
6756
6959
  },
6757
6960
  "constraints": {
6758
6961
  "notEmpty": true
6759
6962
  },
6760
6963
  "condition": {
6761
- "property": "issueOperation",
6762
- "oneOf": ["getIssueById"]
6964
+ "property": "reposOperation",
6965
+ "oneOf": [
6966
+ "createRepositoryFile",
6967
+ "getRepositoryFile",
6968
+ "updateRepositoryFile"
6969
+ ]
6763
6970
  }
6764
6971
  },
6765
6972
  {
6766
- "type": "Hidden",
6767
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
6973
+ "label": "Project ID",
6974
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6975
+ "group": "operation",
6976
+ "type": "String",
6977
+ "feel": "optional",
6768
6978
  "binding": {
6769
6979
  "type": "zeebe:input",
6770
- "name": "url"
6980
+ "name": "projectId"
6981
+ },
6982
+ "constraints": {
6983
+ "notEmpty": true
6771
6984
  },
6772
6985
  "condition": {
6773
- "property": "issueOperation",
6774
- "oneOf": ["getIssueById"]
6986
+ "property": "branchOperation",
6987
+ "oneOf": [
6988
+ "getRepositoryBranchesByProjectId",
6989
+ "createRepositoryBranch"
6990
+ ]
6991
+ }
6992
+ },
6993
+ {
6994
+ "label": "Project ID",
6995
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6996
+ "group": "operation",
6997
+ "type": "String",
6998
+ "feel": "optional",
6999
+ "binding": {
7000
+ "type": "zeebe:input",
7001
+ "name": "projectId"
7002
+ },
7003
+ "constraints": {
7004
+ "notEmpty": true
7005
+ },
7006
+ "condition": {
7007
+ "property": "releaseOperation",
7008
+ "oneOf": [
7009
+ "getReleasesByProjectId",
7010
+ "getReleaseByTagName",
7011
+ "createRelease"
7012
+ ]
6775
7013
  }
6776
7014
  },
6777
7015
  {
@@ -6789,7 +7027,42 @@
6789
7027
  },
6790
7028
  "condition": {
6791
7029
  "property": "issueOperation",
6792
- "oneOf": ["createAnIssue"]
7030
+ "oneOf": [
7031
+ "getIssueById",
7032
+ "createAnIssue",
7033
+ "deleteAnIssue",
7034
+ "commentToAnIssue"
7035
+ ]
7036
+ }
7037
+ },
7038
+ {
7039
+ "label": "Issue ID",
7040
+ "description": "The internal ID of a project\u2019s issue",
7041
+ "group": "operation",
7042
+ "type": "String",
7043
+ "feel": "optional",
7044
+ "binding": {
7045
+ "type": "zeebe:input",
7046
+ "name": "issueId"
7047
+ },
7048
+ "constraints": {
7049
+ "notEmpty": true
7050
+ },
7051
+ "condition": {
7052
+ "property": "issueOperation",
7053
+ "oneOf": ["getIssueById"]
7054
+ }
7055
+ },
7056
+ {
7057
+ "type": "Hidden",
7058
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
7059
+ "binding": {
7060
+ "type": "zeebe:input",
7061
+ "name": "url"
7062
+ },
7063
+ "condition": {
7064
+ "property": "issueOperation",
7065
+ "oneOf": ["getIssueById"]
6793
7066
  }
6794
7067
  },
6795
7068
  {
@@ -6853,26 +7126,21 @@
6853
7126
  }
6854
7127
  },
6855
7128
  {
6856
- "label": "Project ID",
6857
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6858
- "group": "operation",
6859
- "type": "String",
6860
- "feel": "optional",
7129
+ "id": "skipEncoding",
7130
+ "label": "Skip URL encoding",
7131
+ "description": "Skip the default URL decoding and encoding behavior",
7132
+ "optional": true,
7133
+ "group": "endpoint",
6861
7134
  "binding": {
6862
- "type": "zeebe:input",
6863
- "name": "projectId"
6864
- },
6865
- "constraints": {
6866
- "notEmpty": true
7135
+ "name": "skipEncoding",
7136
+ "type": "zeebe:input"
6867
7137
  },
6868
- "condition": {
6869
- "property": "issueOperation",
6870
- "oneOf": ["deleteAnIssue"]
6871
- }
7138
+ "value": "true",
7139
+ "type": "Hidden"
6872
7140
  },
6873
7141
  {
6874
7142
  "label": "Issue ID",
6875
- "description": "The internal ID of a project’s issue",
7143
+ "description": "The internal ID of a project\u2019s issue",
6876
7144
  "group": "operation",
6877
7145
  "type": "String",
6878
7146
  "feel": "optional",
@@ -6900,27 +7168,9 @@
6900
7168
  "oneOf": ["deleteAnIssue"]
6901
7169
  }
6902
7170
  },
6903
- {
6904
- "label": "Project ID",
6905
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6906
- "group": "operation",
6907
- "type": "String",
6908
- "feel": "optional",
6909
- "binding": {
6910
- "type": "zeebe:input",
6911
- "name": "projectId"
6912
- },
6913
- "constraints": {
6914
- "notEmpty": true
6915
- },
6916
- "condition": {
6917
- "property": "issueOperation",
6918
- "oneOf": ["commentToAnIssue"]
6919
- }
6920
- },
6921
7171
  {
6922
7172
  "label": "Issue ID",
6923
- "description": "The internal ID of a project’s issue",
7173
+ "description": "The internal ID of a project\u2019s issue",
6924
7174
  "group": "operation",
6925
7175
  "type": "String",
6926
7176
  "feel": "optional",
@@ -7151,24 +7401,6 @@
7151
7401
  "oneOf": ["searchIssues"]
7152
7402
  }
7153
7403
  },
7154
- {
7155
- "label": "Project ID",
7156
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7157
- "group": "operation",
7158
- "type": "String",
7159
- "feel": "optional",
7160
- "binding": {
7161
- "type": "zeebe:input",
7162
- "name": "projectId"
7163
- },
7164
- "constraints": {
7165
- "notEmpty": true
7166
- },
7167
- "condition": {
7168
- "property": "releaseOperation",
7169
- "oneOf": ["getReleasesByProjectId"]
7170
- }
7171
- },
7172
7404
  {
7173
7405
  "type": "Hidden",
7174
7406
  "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
@@ -7181,24 +7413,6 @@
7181
7413
  "oneOf": ["getReleasesByProjectId"]
7182
7414
  }
7183
7415
  },
7184
- {
7185
- "label": "Project ID",
7186
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7187
- "group": "operation",
7188
- "type": "String",
7189
- "feel": "optional",
7190
- "binding": {
7191
- "type": "zeebe:input",
7192
- "name": "projectId"
7193
- },
7194
- "constraints": {
7195
- "notEmpty": true
7196
- },
7197
- "condition": {
7198
- "property": "releaseOperation",
7199
- "oneOf": ["getReleaseByTagName"]
7200
- }
7201
- },
7202
7416
  {
7203
7417
  "label": "Tag name",
7204
7418
  "description": "The Git tag the release is associated with",
@@ -7229,24 +7443,6 @@
7229
7443
  "oneOf": ["getReleaseByTagName"]
7230
7444
  }
7231
7445
  },
7232
- {
7233
- "label": "Project ID",
7234
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7235
- "group": "operation",
7236
- "type": "String",
7237
- "feel": "optional",
7238
- "binding": {
7239
- "type": "zeebe:input",
7240
- "name": "projectId"
7241
- },
7242
- "constraints": {
7243
- "notEmpty": true
7244
- },
7245
- "condition": {
7246
- "property": "releaseOperation",
7247
- "oneOf": ["createRelease"]
7248
- }
7249
- },
7250
7446
  {
7251
7447
  "label": "Tag name",
7252
7448
  "description": "The tag where the release is created from",
@@ -7340,483 +7536,402 @@
7340
7536
  }
7341
7537
  },
7342
7538
  {
7343
- "type": "Hidden",
7344
- "value": "20",
7539
+ "label": "Search string",
7540
+ "description": "Return list of branches containing the search string",
7541
+ "group": "operation",
7542
+ "type": "String",
7543
+ "feel": "optional",
7544
+ "optional": true,
7345
7545
  "binding": {
7346
7546
  "type": "zeebe:input",
7347
- "name": "connectionTimeoutInSeconds"
7547
+ "name": "searchString"
7548
+ },
7549
+ "condition": {
7550
+ "property": "branchOperation",
7551
+ "oneOf": ["getRepositoryBranchesByProjectId"]
7348
7552
  }
7349
7553
  },
7350
7554
  {
7351
- "label": "Result variable",
7352
- "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
7353
- "group": "output",
7555
+ "label": "Regular expression",
7556
+ "description": "Return list of branches with names matching a <a href=\"https://github.com/google/re2/wiki/Syntax\" target=\"_blank\">re2</a> regular expression",
7557
+ "group": "operation",
7354
7558
  "type": "String",
7559
+ "feel": "optional",
7560
+ "optional": true,
7355
7561
  "binding": {
7356
- "type": "zeebe:taskHeader",
7357
- "key": "resultVariable"
7562
+ "type": "zeebe:input",
7563
+ "name": "regex"
7564
+ },
7565
+ "condition": {
7566
+ "property": "branchOperation",
7567
+ "oneOf": ["getRepositoryBranchesByProjectId"]
7358
7568
  }
7359
7569
  },
7360
7570
  {
7361
- "label": "Result expression",
7362
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
7363
- "group": "output",
7364
- "type": "Text",
7365
- "feel": "required",
7571
+ "type": "Hidden",
7572
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/branches\"",
7366
7573
  "binding": {
7367
- "type": "zeebe:taskHeader",
7368
- "key": "resultExpression"
7574
+ "type": "zeebe:input",
7575
+ "name": "url"
7576
+ },
7577
+ "condition": {
7578
+ "property": "branchOperation",
7579
+ "oneOf": [
7580
+ "getRepositoryBranchesByProjectId",
7581
+ "createRepositoryBranch"
7582
+ ]
7369
7583
  }
7370
7584
  },
7371
7585
  {
7372
- "label": "Error expression",
7373
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
7374
- "group": "errors",
7375
- "type": "Text",
7376
- "feel": "required",
7586
+ "type": "Hidden",
7587
+ "value": "={\"search\": if searchString = null then null else searchString, \"regex\": if regex = null then null else regex}",
7377
7588
  "binding": {
7378
- "type": "zeebe:taskHeader",
7379
- "key": "errorExpression"
7589
+ "type": "zeebe:input",
7590
+ "name": "queryParameters"
7591
+ },
7592
+ "condition": {
7593
+ "property": "branchOperation",
7594
+ "oneOf": ["getRepositoryBranchesByProjectId"]
7380
7595
  }
7381
- }
7382
- ],
7383
- "engines": {
7384
- "camunda": "^8.2"
7385
- }
7386
- },
7387
- {
7388
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
7389
- "name": "GitLab Outbound Connector",
7390
- "id": "io.camunda.connectors.GitLab.v1",
7391
- "version": 7,
7392
- "engines": {
7393
- "camunda": "^8.3"
7394
- },
7395
- "description": "Manage GitLab issues, branches, releases, and more",
7396
- "keywords": [
7397
- "get issue by ID",
7398
- "create issue",
7399
- "delete issue",
7400
- "comment to issue",
7401
- "search issues",
7402
- "list releases",
7403
- "get release by tag name",
7404
- "create release",
7405
- "list branches",
7406
- "create branch",
7407
- "create repository file",
7408
- "get repository file",
7409
- "update repository file",
7410
- "create merge request",
7411
- "repository"
7412
- ],
7413
- "icon": {
7414
- "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
7415
- },
7416
- "category": {
7417
- "id": "connectors",
7418
- "name": "Connectors"
7419
- },
7420
- "appliesTo": ["bpmn:Task"],
7421
- "elementType": {
7422
- "value": "bpmn:ServiceTask"
7423
- },
7424
- "groups": [
7425
- {
7426
- "id": "endpoint",
7427
- "label": "HTTP endpoint"
7428
7596
  },
7429
7597
  {
7430
- "id": "operation",
7431
- "label": "Operation"
7432
- },
7433
- {
7434
- "id": "output",
7435
- "label": "Response mapping"
7598
+ "label": "Name",
7599
+ "description": "Name of the new branch",
7600
+ "group": "operation",
7601
+ "type": "String",
7602
+ "feel": "optional",
7603
+ "binding": {
7604
+ "type": "zeebe:input",
7605
+ "name": "branchName"
7606
+ },
7607
+ "constraints": {
7608
+ "notEmpty": true
7609
+ },
7610
+ "condition": {
7611
+ "property": "branchOperation",
7612
+ "oneOf": ["createRepositoryBranch"]
7613
+ }
7436
7614
  },
7437
7615
  {
7438
- "id": "errors",
7439
- "label": "Error handling"
7440
- }
7441
- ],
7442
- "properties": [
7443
- {
7444
- "type": "Hidden",
7445
- "value": "io.camunda:http-json:1",
7616
+ "label": "Reference",
7617
+ "description": "Branch name or commit SHA to create branch from",
7618
+ "group": "operation",
7619
+ "type": "String",
7620
+ "feel": "optional",
7446
7621
  "binding": {
7447
- "type": "zeebe:taskDefinition",
7448
- "property": "type"
7622
+ "type": "zeebe:input",
7623
+ "name": "ref"
7624
+ },
7625
+ "constraints": {
7626
+ "notEmpty": true
7627
+ },
7628
+ "condition": {
7629
+ "property": "branchOperation",
7630
+ "oneOf": ["createRepositoryBranch"]
7449
7631
  }
7450
7632
  },
7451
7633
  {
7452
- "group": "authentication",
7453
7634
  "type": "Hidden",
7454
- "value": "noAuth",
7635
+ "value": "={\"branch\": if branchName = null then null else branchName, \"ref\": if ref = null then null else ref}",
7455
7636
  "binding": {
7456
7637
  "type": "zeebe:input",
7457
- "name": "authentication.type"
7638
+ "name": "body"
7639
+ },
7640
+ "condition": {
7641
+ "property": "branchOperation",
7642
+ "oneOf": ["createRepositoryBranch"]
7458
7643
  }
7459
7644
  },
7460
7645
  {
7461
- "label": "GitLab base URL",
7462
- "group": "endpoint",
7646
+ "label": "Branch name",
7647
+ "description": "Name of the new branch to modify the file in. The commit is added to this branch",
7648
+ "group": "operation",
7463
7649
  "type": "String",
7464
- "value": "https://gitlab.example.com",
7465
7650
  "feel": "optional",
7466
7651
  "binding": {
7467
7652
  "type": "zeebe:input",
7468
- "name": "baseUrl"
7653
+ "name": "branchName"
7469
7654
  },
7470
7655
  "constraints": {
7471
- "notEmpty": true,
7472
- "pattern": {
7473
- "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
7474
- "message": "Must be a http(s) URL"
7475
- }
7656
+ "notEmpty": true
7657
+ },
7658
+ "condition": {
7659
+ "property": "reposOperation",
7660
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7476
7661
  }
7477
7662
  },
7478
7663
  {
7479
- "label": "GitLab access token",
7480
- "group": "endpoint",
7664
+ "label": "Commit message",
7665
+ "description": "Message of the commit that modifies the file",
7666
+ "group": "operation",
7481
7667
  "type": "String",
7482
7668
  "feel": "optional",
7483
7669
  "binding": {
7484
7670
  "type": "zeebe:input",
7485
- "name": "gitlabAccessToken"
7671
+ "name": "commitMessage"
7486
7672
  },
7487
7673
  "constraints": {
7488
7674
  "notEmpty": true
7675
+ },
7676
+ "condition": {
7677
+ "property": "reposOperation",
7678
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7489
7679
  }
7490
7680
  },
7491
7681
  {
7492
- "type": "Hidden",
7493
- "value": "={\"PRIVATE-TOKEN\":gitlabAccessToken, \"Content-Type\":\"application/json\"}",
7682
+ "label": "File content",
7683
+ "group": "operation",
7684
+ "type": "Text",
7685
+ "feel": "optional",
7494
7686
  "binding": {
7495
7687
  "type": "zeebe:input",
7496
- "name": "headers"
7688
+ "name": "content"
7497
7689
  },
7498
7690
  "constraints": {
7499
7691
  "notEmpty": true
7692
+ },
7693
+ "condition": {
7694
+ "property": "reposOperation",
7695
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7500
7696
  }
7501
7697
  },
7502
7698
  {
7503
- "label": "Operation group",
7504
- "id": "operationGroup",
7699
+ "label": "File path",
7700
+ "description": "URL-encoded full path to the file. For example, lib%2Fclass%2Erb",
7505
7701
  "group": "operation",
7506
- "description": "Choose operation group",
7507
- "type": "Dropdown",
7508
- "choices": [
7509
- {
7510
- "name": "Issues",
7511
- "value": "issues"
7512
- },
7513
- {
7514
- "name": "Releases",
7515
- "value": "releases"
7516
- },
7517
- {
7518
- "name": "Branches",
7519
- "value": "branches"
7520
- },
7521
- {
7522
- "name": "Repository files",
7523
- "value": "repositoryFiles"
7524
- },
7525
- {
7526
- "name": "Merge requests",
7527
- "value": "mergeRequests"
7528
- }
7529
- ],
7702
+ "type": "String",
7703
+ "feel": "optional",
7530
7704
  "binding": {
7531
7705
  "type": "zeebe:input",
7532
- "name": "operationGroup"
7706
+ "name": "filePath"
7707
+ },
7708
+ "constraints": {
7709
+ "notEmpty": true
7710
+ },
7711
+ "condition": {
7712
+ "property": "reposOperation",
7713
+ "oneOf": [
7714
+ "createRepositoryFile",
7715
+ "getRepositoryFile",
7716
+ "updateRepositoryFile"
7717
+ ]
7533
7718
  }
7534
7719
  },
7535
7720
  {
7536
- "label": "Operation",
7537
- "id": "issueOperation",
7721
+ "label": "Author email",
7722
+ "description": "The commit author's email address",
7538
7723
  "group": "operation",
7539
- "description": "Choose operation to perform",
7540
- "type": "Dropdown",
7541
- "choices": [
7542
- {
7543
- "name": "Get an issue by ID",
7544
- "value": "getIssueById"
7545
- },
7546
- {
7547
- "name": "Create an issue",
7548
- "value": "createAnIssue"
7549
- },
7550
- {
7551
- "name": "Delete an issue",
7552
- "value": "deleteAnIssue"
7553
- },
7554
- {
7555
- "name": "Comment to an issue",
7556
- "value": "commentToAnIssue"
7557
- },
7558
- {
7559
- "name": "Search issues",
7560
- "value": "searchIssues"
7561
- }
7562
- ],
7724
+ "type": "String",
7725
+ "feel": "optional",
7726
+ "optional": true,
7563
7727
  "binding": {
7564
7728
  "type": "zeebe:input",
7565
- "name": "operation"
7729
+ "name": "authorEmail"
7566
7730
  },
7567
7731
  "condition": {
7568
- "property": "operationGroup",
7569
- "equals": "issues"
7732
+ "property": "reposOperation",
7733
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7570
7734
  }
7571
7735
  },
7572
7736
  {
7573
- "label": "Operation",
7574
- "id": "releaseOperation",
7737
+ "label": "Author name",
7738
+ "description": "The commit author's name",
7575
7739
  "group": "operation",
7576
- "description": "Choose operation to perform",
7577
- "type": "Dropdown",
7578
- "choices": [
7579
- {
7580
- "name": "List all releases by project ID",
7581
- "value": "getReleasesByProjectId"
7582
- },
7583
- {
7584
- "name": "Get release by a tag name",
7585
- "value": "getReleaseByTagName"
7586
- },
7587
- {
7588
- "name": "Create a release",
7589
- "value": "createRelease"
7590
- }
7591
- ],
7740
+ "type": "String",
7741
+ "feel": "optional",
7742
+ "optional": true,
7592
7743
  "binding": {
7593
7744
  "type": "zeebe:input",
7594
- "name": "operation"
7745
+ "name": "authorName"
7595
7746
  },
7596
7747
  "condition": {
7597
- "property": "operationGroup",
7598
- "equals": "releases"
7748
+ "property": "reposOperation",
7749
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7599
7750
  }
7600
7751
  },
7601
7752
  {
7602
- "label": "Operation",
7603
- "id": "branchOperation",
7753
+ "label": "Encoding",
7754
+ "description": "Change encoding to <code>base64</code>. GitLab's default is <code>text</code>",
7604
7755
  "group": "operation",
7605
- "description": "Choose operation to perform",
7606
- "type": "Dropdown",
7607
- "choices": [
7608
- {
7609
- "name": "List repository branches",
7610
- "value": "getRepositoryBranchesByProjectId"
7611
- },
7612
- {
7613
- "name": "Create repository branch",
7614
- "value": "createRepositoryBranch"
7615
- }
7616
- ],
7756
+ "type": "String",
7757
+ "feel": "optional",
7758
+ "optional": true,
7617
7759
  "binding": {
7618
7760
  "type": "zeebe:input",
7619
- "name": "operation"
7761
+ "name": "encoding"
7620
7762
  },
7621
7763
  "condition": {
7622
- "property": "operationGroup",
7623
- "equals": "branches"
7764
+ "property": "reposOperation",
7765
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7624
7766
  }
7625
7767
  },
7626
7768
  {
7627
- "label": "Operation",
7628
- "id": "reposOperation",
7769
+ "label": "Execute file mode",
7770
+ "description": "Enables or disables the <code>execute</code> flag on the file",
7629
7771
  "group": "operation",
7630
- "description": "Choose operation to perform",
7631
- "type": "Dropdown",
7632
- "choices": [
7633
- {
7634
- "name": "Create new file in repository",
7635
- "value": "createRepositoryFile"
7636
- },
7637
- {
7638
- "name": "Get file from repository",
7639
- "value": "getRepositoryFile"
7640
- },
7641
- {
7642
- "name": "Update existing file in repository",
7643
- "value": "updateRepositoryFile"
7644
- }
7645
- ],
7772
+ "type": "Boolean",
7773
+ "feel": "optional",
7774
+ "value": "=false",
7646
7775
  "binding": {
7647
7776
  "type": "zeebe:input",
7648
- "name": "operation"
7777
+ "name": "executeFilemode"
7649
7778
  },
7650
7779
  "condition": {
7651
- "property": "operationGroup",
7652
- "equals": "repositoryFiles"
7780
+ "property": "reposOperation",
7781
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7653
7782
  }
7654
7783
  },
7655
7784
  {
7656
- "label": "Operation",
7657
- "id": "mergeOperation",
7785
+ "label": "Start branch",
7786
+ "description": "Name of the base branch to start the new branch from",
7658
7787
  "group": "operation",
7659
- "description": "Choose operation to perform",
7660
- "type": "Dropdown",
7661
- "choices": [
7662
- {
7663
- "name": "Create merge request",
7664
- "value": "createMergeRequest"
7665
- }
7666
- ],
7788
+ "type": "String",
7789
+ "feel": "optional",
7790
+ "optional": true,
7667
7791
  "binding": {
7668
7792
  "type": "zeebe:input",
7669
- "name": "operation"
7793
+ "name": "startBranch"
7670
7794
  },
7671
7795
  "condition": {
7672
- "property": "operationGroup",
7673
- "equals": "mergeRequests"
7796
+ "property": "reposOperation",
7797
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7674
7798
  }
7675
7799
  },
7676
7800
  {
7677
- "type": "Hidden",
7678
- "value": "get",
7801
+ "label": "Reference",
7802
+ "description": "Name of the branch, tag or commit the file is fetched from",
7803
+ "group": "operation",
7804
+ "type": "String",
7805
+ "feel": "optional",
7679
7806
  "binding": {
7680
7807
  "type": "zeebe:input",
7681
- "name": "method"
7808
+ "name": "repositoryFileReference"
7809
+ },
7810
+ "constraints": {
7811
+ "notEmpty": true
7682
7812
  },
7683
7813
  "condition": {
7684
7814
  "property": "branchOperation",
7685
- "oneOf": ["getRepositoryBranchesByProjectId"]
7815
+ "oneOf": ["getRepositoryFile"]
7686
7816
  }
7687
7817
  },
7688
7818
  {
7689
7819
  "type": "Hidden",
7690
- "value": "get",
7820
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/files/\" + filePath",
7691
7821
  "binding": {
7692
7822
  "type": "zeebe:input",
7693
- "name": "method"
7823
+ "name": "url"
7694
7824
  },
7695
7825
  "condition": {
7696
- "property": "releaseOperation",
7697
- "oneOf": ["getReleasesByProjectId", "getReleaseByTagName"]
7826
+ "property": "reposOperation",
7827
+ "oneOf": [
7828
+ "createRepositoryFile",
7829
+ "getRepositoryFile",
7830
+ "updateRepositoryFile"
7831
+ ]
7698
7832
  }
7699
7833
  },
7700
7834
  {
7701
7835
  "type": "Hidden",
7702
- "value": "get",
7836
+ "value": "={\"branch\": if branchName = null then null else branchName, \"commit_message\": if commitMessage = null then null else commitMessage, \"content\": if content = null then null else content, \"author_email\": if authorEmail = null then null else authorEmail, \"author_name\": if authorName = null then null else authorName, \"encoding\": if encoding = null then null else encoding, \"execute_filemode\": if executeFilemode = null then null else executeFilemode, \"start_branch\": if startBranch = null then null else startBranch}",
7703
7837
  "binding": {
7704
7838
  "type": "zeebe:input",
7705
- "name": "method"
7839
+ "name": "body"
7706
7840
  },
7707
7841
  "condition": {
7708
- "property": "issueOperation",
7709
- "oneOf": ["getIssueById", "searchIssues"]
7842
+ "property": "reposOperation",
7843
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7710
7844
  }
7711
7845
  },
7712
7846
  {
7713
7847
  "type": "Hidden",
7714
- "value": "post",
7848
+ "value": "={\"ref\":repositoryFileReference}",
7715
7849
  "binding": {
7716
7850
  "type": "zeebe:input",
7717
- "name": "method"
7851
+ "name": "queryParameters"
7718
7852
  },
7719
7853
  "condition": {
7720
- "property": "mergeOperation",
7721
- "oneOf": ["createMergeRequest"]
7854
+ "property": "reposOperation",
7855
+ "oneOf": ["getRepositoryFile"]
7722
7856
  }
7723
7857
  },
7724
7858
  {
7725
- "type": "Hidden",
7726
- "value": "post",
7859
+ "label": "Source branch",
7860
+ "group": "operation",
7861
+ "type": "String",
7862
+ "feel": "optional",
7727
7863
  "binding": {
7728
7864
  "type": "zeebe:input",
7729
- "name": "method"
7865
+ "name": "sourceBranch"
7866
+ },
7867
+ "constraints": {
7868
+ "notEmpty": true
7730
7869
  },
7731
7870
  "condition": {
7732
- "property": "reposOperation",
7733
- "oneOf": ["createRepositoryFile"]
7871
+ "property": "mergeOperation",
7872
+ "oneOf": ["createMergeRequest"]
7734
7873
  }
7735
7874
  },
7736
7875
  {
7737
- "type": "Hidden",
7738
- "value": "get",
7876
+ "label": "Target branch",
7877
+ "group": "operation",
7878
+ "type": "String",
7879
+ "feel": "optional",
7739
7880
  "binding": {
7740
7881
  "type": "zeebe:input",
7741
- "name": "method"
7882
+ "name": "targetBranch"
7883
+ },
7884
+ "constraints": {
7885
+ "notEmpty": true
7742
7886
  },
7743
7887
  "condition": {
7744
- "property": "reposOperation",
7745
- "oneOf": ["getRepositoryFile"]
7888
+ "property": "mergeOperation",
7889
+ "oneOf": ["createMergeRequest"]
7746
7890
  }
7747
7891
  },
7748
7892
  {
7749
- "type": "Hidden",
7750
- "value": "put",
7751
- "binding": {
7752
- "type": "zeebe:input",
7753
- "name": "method"
7754
- },
7755
- "condition": {
7756
- "property": "reposOperation",
7757
- "oneOf": ["updateRepositoryFile"]
7758
- }
7759
- },
7760
- {
7761
- "type": "Hidden",
7762
- "value": "post",
7763
- "binding": {
7764
- "type": "zeebe:input",
7765
- "name": "method"
7766
- },
7767
- "condition": {
7768
- "property": "branchOperation",
7769
- "oneOf": ["createRepositoryBranch"]
7770
- }
7771
- },
7772
- {
7773
- "type": "Hidden",
7774
- "value": "post",
7893
+ "label": "Title",
7894
+ "group": "operation",
7895
+ "type": "String",
7896
+ "feel": "optional",
7775
7897
  "binding": {
7776
7898
  "type": "zeebe:input",
7777
- "name": "method"
7899
+ "name": "title"
7778
7900
  },
7779
- "condition": {
7780
- "property": "releaseOperation",
7781
- "oneOf": ["createRelease"]
7782
- }
7783
- },
7784
- {
7785
- "type": "Hidden",
7786
- "value": "post",
7787
- "binding": {
7788
- "type": "zeebe:input",
7789
- "name": "method"
7901
+ "constraints": {
7902
+ "notEmpty": true
7790
7903
  },
7791
7904
  "condition": {
7792
- "property": "issueOperation",
7793
- "oneOf": ["commentToAnIssue", "createAnIssue"]
7905
+ "property": "mergeOperation",
7906
+ "oneOf": ["createMergeRequest"]
7794
7907
  }
7795
7908
  },
7796
7909
  {
7797
- "type": "Hidden",
7798
- "value": "delete",
7910
+ "label": "Allow collaboration",
7911
+ "description": "Allow commits from members who can merge to the target branch",
7912
+ "group": "operation",
7913
+ "type": "Boolean",
7914
+ "feel": "optional",
7915
+ "value": "=false",
7799
7916
  "binding": {
7800
7917
  "type": "zeebe:input",
7801
- "name": "method"
7918
+ "name": "allowCollaboration"
7802
7919
  },
7803
7920
  "condition": {
7804
- "property": "issueOperation",
7805
- "oneOf": ["deleteAnIssue"]
7921
+ "property": "reposOperation",
7922
+ "oneOf": ["createRepositoryFile"]
7806
7923
  }
7807
7924
  },
7808
7925
  {
7809
- "label": "Project ID",
7810
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7926
+ "label": "Assignee IDs",
7927
+ "description": "The ID of the users to assign the merge request to as an array of numbers",
7811
7928
  "group": "operation",
7812
7929
  "type": "String",
7813
7930
  "feel": "optional",
7931
+ "optional": true,
7814
7932
  "binding": {
7815
7933
  "type": "zeebe:input",
7816
- "name": "projectId"
7817
- },
7818
- "constraints": {
7819
- "notEmpty": true
7934
+ "name": "assigneeIds"
7820
7935
  },
7821
7936
  "condition": {
7822
7937
  "property": "mergeOperation",
@@ -7824,1128 +7939,1034 @@
7824
7939
  }
7825
7940
  },
7826
7941
  {
7827
- "label": "Project ID",
7828
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7942
+ "label": "Description",
7829
7943
  "group": "operation",
7830
7944
  "type": "String",
7831
7945
  "feel": "optional",
7946
+ "optional": true,
7832
7947
  "binding": {
7833
7948
  "type": "zeebe:input",
7834
- "name": "projectId"
7835
- },
7836
- "constraints": {
7837
- "notEmpty": true
7949
+ "name": "description"
7838
7950
  },
7839
7951
  "condition": {
7840
- "property": "reposOperation",
7841
- "oneOf": [
7842
- "createRepositoryFile",
7843
- "getRepositoryFile",
7844
- "updateRepositoryFile"
7845
- ]
7952
+ "property": "mergeOperation",
7953
+ "oneOf": ["createMergeRequest"]
7846
7954
  }
7847
7955
  },
7848
7956
  {
7849
- "label": "Project ID",
7850
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7957
+ "label": "Labels",
7958
+ "description": "Labels for the merge request, as a comma-separated list",
7851
7959
  "group": "operation",
7852
7960
  "type": "String",
7853
7961
  "feel": "optional",
7962
+ "optional": true,
7854
7963
  "binding": {
7855
7964
  "type": "zeebe:input",
7856
- "name": "projectId"
7857
- },
7858
- "constraints": {
7859
- "notEmpty": true
7965
+ "name": "labels"
7860
7966
  },
7861
7967
  "condition": {
7862
- "property": "branchOperation",
7863
- "oneOf": [
7864
- "getRepositoryBranchesByProjectId",
7865
- "createRepositoryBranch"
7866
- ]
7968
+ "property": "mergeOperation",
7969
+ "oneOf": ["createMergeRequest"]
7867
7970
  }
7868
7971
  },
7869
7972
  {
7870
- "label": "Project ID",
7871
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7973
+ "label": "Milestone ID",
7872
7974
  "group": "operation",
7873
7975
  "type": "String",
7874
7976
  "feel": "optional",
7977
+ "optional": true,
7875
7978
  "binding": {
7876
7979
  "type": "zeebe:input",
7877
- "name": "projectId"
7878
- },
7879
- "constraints": {
7880
- "notEmpty": true
7980
+ "name": "assigneeIds"
7881
7981
  },
7882
7982
  "condition": {
7883
- "property": "releaseOperation",
7884
- "oneOf": [
7885
- "getReleasesByProjectId",
7886
- "getReleaseByTagName",
7887
- "createRelease"
7888
- ]
7983
+ "property": "mergeOperation",
7984
+ "oneOf": ["createMergeRequest"]
7889
7985
  }
7890
7986
  },
7891
7987
  {
7892
- "label": "Project ID",
7893
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7988
+ "label": "Remove source branch",
7989
+ "description": "Flag indicating if a merge request should remove the source branch when merging",
7894
7990
  "group": "operation",
7895
- "type": "String",
7991
+ "type": "Boolean",
7896
7992
  "feel": "optional",
7993
+ "value": "=false",
7897
7994
  "binding": {
7898
7995
  "type": "zeebe:input",
7899
- "name": "projectId"
7900
- },
7901
- "constraints": {
7902
- "notEmpty": true
7996
+ "name": "removeSourceBranch"
7903
7997
  },
7904
7998
  "condition": {
7905
- "property": "issueOperation",
7906
- "oneOf": [
7907
- "getIssueById",
7908
- "createAnIssue",
7909
- "deleteAnIssue",
7910
- "commentToAnIssue"
7911
- ]
7999
+ "property": "mergeOperation",
8000
+ "oneOf": ["createMergeRequest"]
7912
8001
  }
7913
8002
  },
7914
8003
  {
7915
- "label": "Issue ID",
7916
- "description": "The internal ID of a project\u2019s issue",
8004
+ "label": "Reviewer IDs",
8005
+ "description": "The ID of the users added as a reviewer to the merge request as an array of numbers",
7917
8006
  "group": "operation",
7918
8007
  "type": "String",
7919
8008
  "feel": "optional",
8009
+ "optional": true,
7920
8010
  "binding": {
7921
8011
  "type": "zeebe:input",
7922
- "name": "issueId"
7923
- },
7924
- "constraints": {
7925
- "notEmpty": true
8012
+ "name": "reviewerIds"
7926
8013
  },
7927
8014
  "condition": {
7928
- "property": "issueOperation",
7929
- "oneOf": ["getIssueById"]
8015
+ "property": "mergeOperation",
8016
+ "oneOf": ["createMergeRequest"]
7930
8017
  }
7931
8018
  },
7932
8019
  {
7933
- "type": "Hidden",
7934
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
8020
+ "label": "Squash",
8021
+ "description": "Indicates if the merge request is set to be squashed when merged. Project settings might override this value",
8022
+ "group": "operation",
8023
+ "type": "Boolean",
8024
+ "feel": "optional",
8025
+ "value": "=false",
7935
8026
  "binding": {
7936
8027
  "type": "zeebe:input",
7937
- "name": "url"
8028
+ "name": "squash"
7938
8029
  },
7939
8030
  "condition": {
7940
- "property": "issueOperation",
7941
- "oneOf": ["getIssueById"]
8031
+ "property": "mergeOperation",
8032
+ "oneOf": ["createMergeRequest"]
7942
8033
  }
7943
8034
  },
7944
8035
  {
7945
- "label": "Title",
7946
- "description": "The title of an issue",
8036
+ "label": "Target project ID",
8037
+ "description": "Numeric ID of the target project",
7947
8038
  "group": "operation",
7948
8039
  "type": "String",
7949
8040
  "feel": "optional",
8041
+ "optional": true,
7950
8042
  "binding": {
7951
8043
  "type": "zeebe:input",
7952
- "name": "issueTitle"
7953
- },
7954
- "constraints": {
7955
- "notEmpty": true
8044
+ "name": "targetProjectId"
7956
8045
  },
7957
8046
  "condition": {
7958
- "property": "issueOperation",
7959
- "oneOf": ["createAnIssue"]
8047
+ "property": "mergeOperation",
8048
+ "oneOf": ["createMergeRequest"]
7960
8049
  }
7961
8050
  },
7962
8051
  {
7963
- "label": "Description",
7964
- "description": "The description of an issue",
7965
- "group": "operation",
7966
- "type": "Text",
7967
- "feel": "optional",
8052
+ "type": "Hidden",
8053
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/merge_requests\"",
7968
8054
  "binding": {
7969
8055
  "type": "zeebe:input",
7970
- "name": "issueDescription"
7971
- },
7972
- "constraints": {
7973
- "notEmpty": true
8056
+ "name": "url"
7974
8057
  },
7975
8058
  "condition": {
7976
- "property": "issueOperation",
7977
- "oneOf": ["createAnIssue"]
8059
+ "property": "mergeOperation",
8060
+ "oneOf": ["createMergeRequest"]
7978
8061
  }
7979
8062
  },
7980
8063
  {
7981
8064
  "type": "Hidden",
7982
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues\"",
8065
+ "value": "={\"source_branch\": if sourceBranch = null then null else sourceBranch, \"target_branch\": if targetBranch = null then null else targetBranch, \"title\": if title = null then null else title, \"assignee_ids\": if assigneeIds = null then null else assigneeIds, \"description\": if description = null then null else description, \"labels\": if labels = null then null else labels, \"milestone_id\": if milestoneId = null then null else milestoneId, \"remove_source_branch\": if removeSourceBranch = null then null else removeSourceBranch, \"reviewer_ids\": if reviewerIds = null then null else reviewerIds, \"squash\": if squash = null then null else squash, \"target_project_id\": if targetProjectId = null then null else targetProjectId}",
7983
8066
  "binding": {
7984
8067
  "type": "zeebe:input",
7985
- "name": "url"
8068
+ "name": "body"
7986
8069
  },
7987
8070
  "condition": {
7988
- "property": "issueOperation",
7989
- "oneOf": ["createAnIssue"]
8071
+ "property": "mergeOperation",
8072
+ "oneOf": ["createMergeRequest"]
7990
8073
  }
7991
8074
  },
7992
8075
  {
7993
8076
  "type": "Hidden",
7994
- "value": "={\"title\":issueTitle, \"description\":issueDescription}",
8077
+ "value": "20",
7995
8078
  "binding": {
7996
8079
  "type": "zeebe:input",
7997
- "name": "queryParameters"
7998
- },
7999
- "condition": {
8000
- "property": "issueOperation",
8001
- "oneOf": ["createAnIssue"]
8080
+ "name": "connectionTimeoutInSeconds"
8002
8081
  }
8003
8082
  },
8004
8083
  {
8005
- "id": "skipEncoding",
8006
- "label": "Skip URL encoding",
8007
- "description": "Skip the default URL decoding and encoding behavior",
8008
- "optional": true,
8009
- "group": "endpoint",
8084
+ "label": "Result variable",
8085
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
8086
+ "group": "output",
8087
+ "type": "String",
8010
8088
  "binding": {
8011
- "name": "skipEncoding",
8012
- "type": "zeebe:input"
8013
- },
8014
- "value": "true",
8015
- "type": "Hidden"
8089
+ "type": "zeebe:taskHeader",
8090
+ "key": "resultVariable"
8091
+ }
8016
8092
  },
8017
8093
  {
8018
- "label": "Issue ID",
8019
- "description": "The internal ID of a project\u2019s issue",
8020
- "group": "operation",
8021
- "type": "String",
8022
- "feel": "optional",
8094
+ "label": "Result expression",
8095
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
8096
+ "group": "output",
8097
+ "type": "Text",
8098
+ "feel": "required",
8023
8099
  "binding": {
8024
- "type": "zeebe:input",
8025
- "name": "issueId"
8026
- },
8027
- "constraints": {
8028
- "notEmpty": true
8029
- },
8030
- "condition": {
8031
- "property": "issueOperation",
8032
- "oneOf": ["deleteAnIssue"]
8100
+ "type": "zeebe:taskHeader",
8101
+ "key": "resultExpression"
8033
8102
  }
8034
8103
  },
8035
8104
  {
8036
- "type": "Hidden",
8037
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
8105
+ "label": "Error expression",
8106
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
8107
+ "group": "errors",
8108
+ "type": "Text",
8109
+ "feel": "required",
8038
8110
  "binding": {
8039
- "type": "zeebe:input",
8040
- "name": "url"
8041
- },
8042
- "condition": {
8043
- "property": "issueOperation",
8044
- "oneOf": ["deleteAnIssue"]
8111
+ "type": "zeebe:taskHeader",
8112
+ "key": "errorExpression"
8045
8113
  }
8114
+ }
8115
+ ]
8116
+ },
8117
+ {
8118
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
8119
+ "name": "GitLab Outbound Connector",
8120
+ "id": "io.camunda.connectors.GitLab.v1",
8121
+ "version": 3,
8122
+ "description": "Administer and work with issues and releases",
8123
+ "icon": {
8124
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
8125
+ },
8126
+ "category": {
8127
+ "id": "connectors",
8128
+ "name": "Connectors"
8129
+ },
8130
+ "appliesTo": ["bpmn:Task"],
8131
+ "elementType": {
8132
+ "value": "bpmn:ServiceTask"
8133
+ },
8134
+ "groups": [
8135
+ {
8136
+ "id": "endpoint",
8137
+ "label": "HTTP endpoint"
8046
8138
  },
8047
8139
  {
8048
- "label": "Issue ID",
8049
- "description": "The internal ID of a project\u2019s issue",
8050
- "group": "operation",
8051
- "type": "String",
8052
- "feel": "optional",
8140
+ "id": "operation",
8141
+ "label": "Operation"
8142
+ },
8143
+ {
8144
+ "id": "output",
8145
+ "label": "Response mapping"
8146
+ },
8147
+ {
8148
+ "id": "errors",
8149
+ "label": "Error handling"
8150
+ }
8151
+ ],
8152
+ "properties": [
8153
+ {
8154
+ "type": "Hidden",
8155
+ "value": "io.camunda:http-json:1",
8053
8156
  "binding": {
8054
- "type": "zeebe:input",
8055
- "name": "issueId"
8056
- },
8057
- "constraints": {
8058
- "notEmpty": true
8059
- },
8060
- "condition": {
8061
- "property": "issueOperation",
8062
- "oneOf": ["commentToAnIssue"]
8157
+ "type": "zeebe:taskDefinition",
8158
+ "property": "type"
8063
8159
  }
8064
8160
  },
8065
8161
  {
8066
- "label": "Note text",
8067
- "description": "The content of a note",
8068
- "group": "operation",
8069
- "type": "Text",
8070
- "feel": "optional",
8162
+ "group": "authentication",
8163
+ "type": "Hidden",
8164
+ "value": "noAuth",
8071
8165
  "binding": {
8072
8166
  "type": "zeebe:input",
8073
- "name": "commentBody"
8074
- },
8075
- "constraints": {
8076
- "notEmpty": true
8077
- },
8078
- "condition": {
8079
- "property": "issueOperation",
8080
- "oneOf": ["commentToAnIssue"]
8167
+ "name": "authentication.type"
8081
8168
  }
8082
8169
  },
8083
8170
  {
8084
- "label": "Level on confidentiality",
8085
- "description": "Indicates whether an issue has to be marked as internal or not",
8086
- "group": "operation",
8087
- "type": "Dropdown",
8088
- "value": "false",
8089
- "choices": [
8090
- {
8091
- "name": "Confidential",
8092
- "value": "true"
8093
- },
8094
- {
8095
- "name": "Non-confidential",
8096
- "value": "false"
8097
- }
8098
- ],
8171
+ "label": "GitLab base URL",
8172
+ "group": "endpoint",
8173
+ "type": "String",
8174
+ "value": "https://gitlab.example.com",
8175
+ "feel": "optional",
8099
8176
  "binding": {
8100
8177
  "type": "zeebe:input",
8101
- "name": "issueIsConfidential"
8178
+ "name": "baseUrl"
8102
8179
  },
8103
- "condition": {
8104
- "property": "issueOperation",
8105
- "oneOf": ["commentToAnIssue"]
8180
+ "constraints": {
8181
+ "notEmpty": true,
8182
+ "pattern": {
8183
+ "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
8184
+ "message": "Must be a http(s) URL"
8185
+ }
8106
8186
  }
8107
8187
  },
8108
8188
  {
8109
- "type": "Hidden",
8110
- "value": "={\"body\":commentBody, \"confidential\":issueIsConfidential}",
8189
+ "label": "GitLab access token",
8190
+ "group": "endpoint",
8191
+ "type": "String",
8192
+ "feel": "optional",
8111
8193
  "binding": {
8112
8194
  "type": "zeebe:input",
8113
- "name": "queryParameters"
8195
+ "name": "gitlabAccessToken"
8114
8196
  },
8115
- "condition": {
8116
- "property": "issueOperation",
8117
- "oneOf": ["commentToAnIssue"]
8197
+ "constraints": {
8198
+ "notEmpty": true
8118
8199
  }
8119
8200
  },
8120
8201
  {
8121
8202
  "type": "Hidden",
8122
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId + \"/notes\"",
8203
+ "value": "={\"PRIVATE-TOKEN\":gitlabAccessToken, \"Content-Type\":\"application/json\"}",
8123
8204
  "binding": {
8124
8205
  "type": "zeebe:input",
8125
- "name": "url"
8206
+ "name": "headers"
8126
8207
  },
8127
- "condition": {
8128
- "property": "issueOperation",
8129
- "oneOf": ["commentToAnIssue"]
8208
+ "constraints": {
8209
+ "notEmpty": true
8130
8210
  }
8131
8211
  },
8132
8212
  {
8133
- "label": "Scope",
8134
- "description": "Return issues with the given scope",
8213
+ "label": "Operation group",
8214
+ "id": "operationGroup",
8135
8215
  "group": "operation",
8216
+ "description": "Choose operation group",
8136
8217
  "type": "Dropdown",
8137
- "optional": true,
8138
- "value": "all",
8139
8218
  "choices": [
8140
8219
  {
8141
- "name": "All",
8142
- "value": "all"
8143
- },
8144
- {
8145
- "name": "Created by access token owner",
8146
- "value": "created_by_me"
8220
+ "name": "Issues",
8221
+ "value": "issues"
8147
8222
  },
8148
8223
  {
8149
- "name": "Assigned by access token owner",
8150
- "value": "assigned_to_me"
8224
+ "name": "Releases",
8225
+ "value": "releases"
8151
8226
  }
8152
8227
  ],
8153
8228
  "binding": {
8154
8229
  "type": "zeebe:input",
8155
- "name": "searchIssueScope"
8156
- },
8157
- "condition": {
8158
- "property": "issueOperation",
8159
- "oneOf": ["searchIssues"]
8230
+ "name": "operationGroup"
8160
8231
  }
8161
8232
  },
8162
8233
  {
8163
- "label": "State",
8164
- "description": "Return all issues or just those that are opened or closed",
8234
+ "label": "Operation",
8235
+ "id": "issueOperation",
8165
8236
  "group": "operation",
8237
+ "description": "Choose operation to perform",
8166
8238
  "type": "Dropdown",
8167
- "value": "all",
8168
- "optional": true,
8169
8239
  "choices": [
8170
8240
  {
8171
- "name": "All",
8172
- "value": "all"
8241
+ "name": "Get an issue by ID",
8242
+ "value": "getIssueById"
8173
8243
  },
8174
8244
  {
8175
- "name": "Opened",
8176
- "value": "opened"
8245
+ "name": "Create an issue",
8246
+ "value": "createAnIssue"
8177
8247
  },
8178
8248
  {
8179
- "name": "Closed",
8180
- "value": "closed"
8249
+ "name": "Delete an issue",
8250
+ "value": "deleteAnIssue"
8251
+ },
8252
+ {
8253
+ "name": "Comment to an issue",
8254
+ "value": "commentToAnIssue"
8255
+ },
8256
+ {
8257
+ "name": "Search issues",
8258
+ "value": "searchIssues"
8181
8259
  }
8182
8260
  ],
8183
8261
  "binding": {
8184
8262
  "type": "zeebe:input",
8185
- "name": "searchIssueState"
8186
- },
8187
- "condition": {
8188
- "property": "issueOperation",
8189
- "oneOf": ["searchIssues"]
8190
- }
8191
- },
8192
- {
8193
- "label": "Assignee ID",
8194
- "description": "Return issues assigned to the given user ID. Mutually exclusive with 'Assignee username'. None returns unassigned issues. 'Any' returns issues with an assignee",
8195
- "group": "operation",
8196
- "type": "String",
8197
- "feel": "optional",
8198
- "optional": true,
8199
- "binding": {
8200
- "type": "zeebe:input",
8201
- "name": "searchIssueAssigneeId"
8202
- },
8203
- "condition": {
8204
- "property": "issueOperation",
8205
- "oneOf": ["searchIssues"]
8206
- }
8207
- },
8208
- {
8209
- "label": "Assignee username",
8210
- "description": " Return issues assigned to the given username. Similar to 'Assignee ID' and mutually exclusive with 'Assignee ID'",
8211
- "group": "operation",
8212
- "type": "String",
8213
- "feel": "optional",
8214
- "optional": true,
8215
- "binding": {
8216
- "type": "zeebe:input",
8217
- "name": "searchIssueAssigneeUsername"
8218
- },
8219
- "condition": {
8220
- "property": "issueOperation",
8221
- "oneOf": ["searchIssues"]
8222
- }
8223
- },
8224
- {
8225
- "label": "Author ID",
8226
- "description": "Return issues created by the given user ID",
8227
- "group": "operation",
8228
- "type": "String",
8229
- "feel": "optional",
8230
- "optional": true,
8231
- "binding": {
8232
- "type": "zeebe:input",
8233
- "name": "searchIssueAuthorId"
8263
+ "name": "operation"
8234
8264
  },
8235
8265
  "condition": {
8236
- "property": "issueOperation",
8237
- "oneOf": ["searchIssues"]
8266
+ "property": "operationGroup",
8267
+ "equals": "issues"
8238
8268
  }
8239
8269
  },
8240
8270
  {
8241
- "label": "Contains text",
8242
- "description": "Search issues against their title and description",
8271
+ "label": "Operation",
8272
+ "id": "releaseOperation",
8243
8273
  "group": "operation",
8244
- "type": "String",
8245
- "feel": "optional",
8246
- "optional": true,
8274
+ "description": "Choose operation to perform",
8275
+ "type": "Dropdown",
8276
+ "choices": [
8277
+ {
8278
+ "name": "List all releases by project ID",
8279
+ "value": "getReleasesByProjectId"
8280
+ },
8281
+ {
8282
+ "name": "Get release by a tag name",
8283
+ "value": "getReleaseByTagName"
8284
+ },
8285
+ {
8286
+ "name": "Create a release",
8287
+ "value": "createRelease"
8288
+ }
8289
+ ],
8247
8290
  "binding": {
8248
8291
  "type": "zeebe:input",
8249
- "name": "searchIssueSearch"
8292
+ "name": "operation"
8250
8293
  },
8251
8294
  "condition": {
8252
- "property": "issueOperation",
8253
- "oneOf": ["searchIssues"]
8295
+ "property": "operationGroup",
8296
+ "equals": "releases"
8254
8297
  }
8255
8298
  },
8256
8299
  {
8257
8300
  "type": "Hidden",
8258
- "value": "={\"state\":if searchIssueState = null then null else searchIssueState, \"scope\": if searchIssueScope = null then null else searchIssueScope, \"assignee_id\": if searchIssueAssigneeId = null then null else searchIssueAssigneeId, \"assignee_username\": if searchIssueAssigneeUsername = null then null else searchIssueAssigneeUsername, \"author_id\": if searchIssueAuthorId = null then null else searchIssueAuthorId, \"search\": if searchIssueSearch = null then null else searchIssueSearch}",
8301
+ "value": "get",
8259
8302
  "binding": {
8260
8303
  "type": "zeebe:input",
8261
- "name": "queryParameters"
8304
+ "name": "method"
8262
8305
  },
8263
8306
  "condition": {
8264
- "property": "issueOperation",
8265
- "oneOf": ["searchIssues"]
8307
+ "property": "releaseOperation",
8308
+ "oneOf": ["getReleasesByProjectId", "getReleaseByTagName"]
8266
8309
  }
8267
8310
  },
8268
8311
  {
8269
8312
  "type": "Hidden",
8270
- "value": "=baseUrl + \"/api/v4/issues\"",
8313
+ "value": "get",
8271
8314
  "binding": {
8272
8315
  "type": "zeebe:input",
8273
- "name": "url"
8316
+ "name": "method"
8274
8317
  },
8275
8318
  "condition": {
8276
8319
  "property": "issueOperation",
8277
- "oneOf": ["searchIssues"]
8320
+ "oneOf": ["getIssueById", "searchIssues"]
8278
8321
  }
8279
8322
  },
8280
8323
  {
8281
8324
  "type": "Hidden",
8282
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
8283
- "binding": {
8284
- "type": "zeebe:input",
8285
- "name": "url"
8286
- },
8287
- "condition": {
8288
- "property": "releaseOperation",
8289
- "oneOf": ["getReleasesByProjectId"]
8290
- }
8291
- },
8292
- {
8293
- "label": "Tag name",
8294
- "description": "The Git tag the release is associated with",
8295
- "group": "operation",
8296
- "type": "String",
8297
- "feel": "optional",
8325
+ "value": "post",
8298
8326
  "binding": {
8299
8327
  "type": "zeebe:input",
8300
- "name": "releaseTagName"
8301
- },
8302
- "constraints": {
8303
- "notEmpty": true
8328
+ "name": "method"
8304
8329
  },
8305
8330
  "condition": {
8306
8331
  "property": "releaseOperation",
8307
- "oneOf": ["getReleaseByTagName"]
8332
+ "oneOf": ["createRelease"]
8308
8333
  }
8309
8334
  },
8310
8335
  {
8311
8336
  "type": "Hidden",
8312
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases/\" + releaseTagName",
8337
+ "value": "post",
8313
8338
  "binding": {
8314
8339
  "type": "zeebe:input",
8315
- "name": "url"
8340
+ "name": "method"
8316
8341
  },
8317
8342
  "condition": {
8318
- "property": "releaseOperation",
8319
- "oneOf": ["getReleaseByTagName"]
8343
+ "property": "issueOperation",
8344
+ "oneOf": ["commentToAnIssue", "createAnIssue"]
8320
8345
  }
8321
8346
  },
8322
8347
  {
8323
- "label": "Tag name",
8324
- "description": "The tag where the release is created from",
8325
- "group": "operation",
8326
- "type": "String",
8327
- "feel": "optional",
8348
+ "type": "Hidden",
8349
+ "value": "delete",
8328
8350
  "binding": {
8329
8351
  "type": "zeebe:input",
8330
- "name": "releaseTagName"
8331
- },
8332
- "constraints": {
8333
- "notEmpty": true
8352
+ "name": "method"
8334
8353
  },
8335
8354
  "condition": {
8336
- "property": "releaseOperation",
8337
- "oneOf": ["createRelease"]
8355
+ "property": "issueOperation",
8356
+ "oneOf": ["deleteAnIssue"]
8338
8357
  }
8339
8358
  },
8340
8359
  {
8341
- "label": "Ref",
8342
- "description": "A commit SHA, another tag name, or a branch name",
8360
+ "label": "Project ID",
8361
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
8343
8362
  "group": "operation",
8344
8363
  "type": "String",
8345
8364
  "feel": "optional",
8346
8365
  "binding": {
8347
8366
  "type": "zeebe:input",
8348
- "name": "releaseRef"
8367
+ "name": "projectId"
8349
8368
  },
8350
8369
  "constraints": {
8351
8370
  "notEmpty": true
8352
8371
  },
8353
8372
  "condition": {
8354
- "property": "releaseOperation",
8355
- "oneOf": ["createRelease"]
8373
+ "property": "issueOperation",
8374
+ "oneOf": ["getIssueById"]
8356
8375
  }
8357
8376
  },
8358
8377
  {
8359
- "label": "Release name",
8360
- "description": "The release name",
8378
+ "label": "Issue ID",
8379
+ "description": "The internal ID of a project’s issue",
8361
8380
  "group": "operation",
8362
8381
  "type": "String",
8363
8382
  "feel": "optional",
8364
- "optional": true,
8365
- "binding": {
8366
- "type": "zeebe:input",
8367
- "name": "releaseName"
8368
- },
8369
- "condition": {
8370
- "property": "releaseOperation",
8371
- "oneOf": ["createRelease"]
8372
- }
8373
- },
8374
- {
8375
- "label": "Description",
8376
- "description": "The description of the release",
8377
- "group": "operation",
8378
- "type": "Text",
8379
- "feel": "optional",
8380
- "optional": true,
8381
8383
  "binding": {
8382
8384
  "type": "zeebe:input",
8383
- "name": "releaseDescription"
8385
+ "name": "issueId"
8386
+ },
8387
+ "constraints": {
8388
+ "notEmpty": true
8384
8389
  },
8385
8390
  "condition": {
8386
- "property": "releaseOperation",
8387
- "oneOf": ["createRelease"]
8391
+ "property": "issueOperation",
8392
+ "oneOf": ["getIssueById"]
8388
8393
  }
8389
8394
  },
8390
8395
  {
8391
8396
  "type": "Hidden",
8392
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
8397
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
8393
8398
  "binding": {
8394
8399
  "type": "zeebe:input",
8395
8400
  "name": "url"
8396
8401
  },
8397
8402
  "condition": {
8398
- "property": "releaseOperation",
8399
- "oneOf": ["createRelease"]
8403
+ "property": "issueOperation",
8404
+ "oneOf": ["getIssueById"]
8400
8405
  }
8401
8406
  },
8402
8407
  {
8403
- "type": "Hidden",
8404
- "value": "={\"tag_name\": if releaseTagName = null then null else releaseTagName, \"name\": if releaseName = null then null else releaseName, \"description\": if releaseDescription = null then releaseDescription else releaseDescription, \"ref\": if releaseRef = null then null else releaseRef}",
8408
+ "label": "Project ID",
8409
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
8410
+ "group": "operation",
8411
+ "type": "String",
8412
+ "feel": "optional",
8405
8413
  "binding": {
8406
8414
  "type": "zeebe:input",
8407
- "name": "body"
8415
+ "name": "projectId"
8416
+ },
8417
+ "constraints": {
8418
+ "notEmpty": true
8408
8419
  },
8409
8420
  "condition": {
8410
- "property": "releaseOperation",
8411
- "oneOf": ["createRelease"]
8421
+ "property": "issueOperation",
8422
+ "oneOf": ["createAnIssue"]
8412
8423
  }
8413
8424
  },
8414
8425
  {
8415
- "label": "Search string",
8416
- "description": "Return list of branches containing the search string",
8426
+ "label": "Title",
8427
+ "description": "The title of an issue",
8417
8428
  "group": "operation",
8418
8429
  "type": "String",
8419
8430
  "feel": "optional",
8420
- "optional": true,
8421
8431
  "binding": {
8422
8432
  "type": "zeebe:input",
8423
- "name": "searchString"
8433
+ "name": "issueTitle"
8434
+ },
8435
+ "constraints": {
8436
+ "notEmpty": true
8424
8437
  },
8425
8438
  "condition": {
8426
- "property": "branchOperation",
8427
- "oneOf": ["getRepositoryBranchesByProjectId"]
8439
+ "property": "issueOperation",
8440
+ "oneOf": ["createAnIssue"]
8428
8441
  }
8429
8442
  },
8430
8443
  {
8431
- "label": "Regular expression",
8432
- "description": "Return list of branches with names matching a <a href=\"https://github.com/google/re2/wiki/Syntax\" target=\"_blank\">re2</a> regular expression",
8444
+ "label": "Description",
8445
+ "description": "The description of an issue",
8433
8446
  "group": "operation",
8434
- "type": "String",
8447
+ "type": "Text",
8435
8448
  "feel": "optional",
8436
- "optional": true,
8437
8449
  "binding": {
8438
8450
  "type": "zeebe:input",
8439
- "name": "regex"
8451
+ "name": "issueDescription"
8452
+ },
8453
+ "constraints": {
8454
+ "notEmpty": true
8440
8455
  },
8441
8456
  "condition": {
8442
- "property": "branchOperation",
8443
- "oneOf": ["getRepositoryBranchesByProjectId"]
8457
+ "property": "issueOperation",
8458
+ "oneOf": ["createAnIssue"]
8444
8459
  }
8445
8460
  },
8446
8461
  {
8447
8462
  "type": "Hidden",
8448
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/branches\"",
8463
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues\"",
8449
8464
  "binding": {
8450
8465
  "type": "zeebe:input",
8451
8466
  "name": "url"
8452
8467
  },
8453
8468
  "condition": {
8454
- "property": "branchOperation",
8455
- "oneOf": [
8456
- "getRepositoryBranchesByProjectId",
8457
- "createRepositoryBranch"
8458
- ]
8469
+ "property": "issueOperation",
8470
+ "oneOf": ["createAnIssue"]
8459
8471
  }
8460
8472
  },
8461
8473
  {
8462
8474
  "type": "Hidden",
8463
- "value": "={\"search\": if searchString = null then null else searchString, \"regex\": if regex = null then null else regex}",
8475
+ "value": "={\"title\":issueTitle, \"description\":issueDescription}",
8464
8476
  "binding": {
8465
8477
  "type": "zeebe:input",
8466
8478
  "name": "queryParameters"
8467
8479
  },
8468
8480
  "condition": {
8469
- "property": "branchOperation",
8470
- "oneOf": ["getRepositoryBranchesByProjectId"]
8481
+ "property": "issueOperation",
8482
+ "oneOf": ["createAnIssue"]
8471
8483
  }
8472
8484
  },
8473
8485
  {
8474
- "label": "Name",
8475
- "description": "Name of the new branch",
8486
+ "label": "Project ID",
8487
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
8476
8488
  "group": "operation",
8477
8489
  "type": "String",
8478
8490
  "feel": "optional",
8479
8491
  "binding": {
8480
8492
  "type": "zeebe:input",
8481
- "name": "branchName"
8493
+ "name": "projectId"
8482
8494
  },
8483
8495
  "constraints": {
8484
8496
  "notEmpty": true
8485
8497
  },
8486
8498
  "condition": {
8487
- "property": "branchOperation",
8488
- "oneOf": ["createRepositoryBranch"]
8499
+ "property": "issueOperation",
8500
+ "oneOf": ["deleteAnIssue"]
8489
8501
  }
8490
8502
  },
8491
8503
  {
8492
- "label": "Reference",
8493
- "description": "Branch name or commit SHA to create branch from",
8504
+ "label": "Issue ID",
8505
+ "description": "The internal ID of a project’s issue",
8494
8506
  "group": "operation",
8495
8507
  "type": "String",
8496
8508
  "feel": "optional",
8497
8509
  "binding": {
8498
8510
  "type": "zeebe:input",
8499
- "name": "ref"
8511
+ "name": "issueId"
8500
8512
  },
8501
8513
  "constraints": {
8502
8514
  "notEmpty": true
8503
8515
  },
8504
8516
  "condition": {
8505
- "property": "branchOperation",
8506
- "oneOf": ["createRepositoryBranch"]
8517
+ "property": "issueOperation",
8518
+ "oneOf": ["deleteAnIssue"]
8507
8519
  }
8508
8520
  },
8509
8521
  {
8510
8522
  "type": "Hidden",
8511
- "value": "={\"branch\": if branchName = null then null else branchName, \"ref\": if ref = null then null else ref}",
8523
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
8512
8524
  "binding": {
8513
8525
  "type": "zeebe:input",
8514
- "name": "body"
8526
+ "name": "url"
8515
8527
  },
8516
8528
  "condition": {
8517
- "property": "branchOperation",
8518
- "oneOf": ["createRepositoryBranch"]
8529
+ "property": "issueOperation",
8530
+ "oneOf": ["deleteAnIssue"]
8519
8531
  }
8520
8532
  },
8521
8533
  {
8522
- "label": "Branch name",
8523
- "description": "Name of the new branch to modify the file in. The commit is added to this branch",
8534
+ "label": "Project ID",
8535
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
8524
8536
  "group": "operation",
8525
8537
  "type": "String",
8526
8538
  "feel": "optional",
8527
8539
  "binding": {
8528
8540
  "type": "zeebe:input",
8529
- "name": "branchName"
8541
+ "name": "projectId"
8530
8542
  },
8531
8543
  "constraints": {
8532
8544
  "notEmpty": true
8533
8545
  },
8534
8546
  "condition": {
8535
- "property": "reposOperation",
8536
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8547
+ "property": "issueOperation",
8548
+ "oneOf": ["commentToAnIssue"]
8537
8549
  }
8538
8550
  },
8539
8551
  {
8540
- "label": "Commit message",
8541
- "description": "Message of the commit that modifies the file",
8552
+ "label": "Issue ID",
8553
+ "description": "The internal ID of a project’s issue",
8542
8554
  "group": "operation",
8543
8555
  "type": "String",
8544
8556
  "feel": "optional",
8545
8557
  "binding": {
8546
8558
  "type": "zeebe:input",
8547
- "name": "commitMessage"
8559
+ "name": "issueId"
8548
8560
  },
8549
8561
  "constraints": {
8550
8562
  "notEmpty": true
8551
8563
  },
8552
8564
  "condition": {
8553
- "property": "reposOperation",
8554
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8565
+ "property": "issueOperation",
8566
+ "oneOf": ["commentToAnIssue"]
8555
8567
  }
8556
8568
  },
8557
8569
  {
8558
- "label": "File content",
8570
+ "label": "Note text",
8571
+ "description": "The content of a note",
8559
8572
  "group": "operation",
8560
8573
  "type": "Text",
8561
8574
  "feel": "optional",
8562
8575
  "binding": {
8563
8576
  "type": "zeebe:input",
8564
- "name": "content"
8577
+ "name": "commentBody"
8565
8578
  },
8566
8579
  "constraints": {
8567
8580
  "notEmpty": true
8568
8581
  },
8569
8582
  "condition": {
8570
- "property": "reposOperation",
8571
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8583
+ "property": "issueOperation",
8584
+ "oneOf": ["commentToAnIssue"]
8572
8585
  }
8573
8586
  },
8574
8587
  {
8575
- "label": "File path",
8576
- "description": "URL-encoded full path to the file. For example, lib%2Fclass%2Erb",
8588
+ "label": "Level on confidentiality",
8589
+ "description": "Indicates whether an issue has to be marked as internal or not",
8577
8590
  "group": "operation",
8578
- "type": "String",
8579
- "feel": "optional",
8591
+ "type": "Dropdown",
8592
+ "value": "false",
8593
+ "choices": [
8594
+ {
8595
+ "name": "Confidential",
8596
+ "value": "true"
8597
+ },
8598
+ {
8599
+ "name": "Non-confidential",
8600
+ "value": "false"
8601
+ }
8602
+ ],
8580
8603
  "binding": {
8581
8604
  "type": "zeebe:input",
8582
- "name": "filePath"
8605
+ "name": "issueIsConfidential"
8583
8606
  },
8584
- "constraints": {
8585
- "notEmpty": true
8607
+ "condition": {
8608
+ "property": "issueOperation",
8609
+ "oneOf": ["commentToAnIssue"]
8610
+ }
8611
+ },
8612
+ {
8613
+ "type": "Hidden",
8614
+ "value": "={\"body\":commentBody, \"confidential\":issueIsConfidential}",
8615
+ "binding": {
8616
+ "type": "zeebe:input",
8617
+ "name": "queryParameters"
8586
8618
  },
8587
8619
  "condition": {
8588
- "property": "reposOperation",
8589
- "oneOf": [
8590
- "createRepositoryFile",
8591
- "getRepositoryFile",
8592
- "updateRepositoryFile"
8593
- ]
8620
+ "property": "issueOperation",
8621
+ "oneOf": ["commentToAnIssue"]
8594
8622
  }
8595
8623
  },
8596
8624
  {
8597
- "label": "Author email",
8598
- "description": "The commit author's email address",
8599
- "group": "operation",
8600
- "type": "String",
8601
- "feel": "optional",
8602
- "optional": true,
8625
+ "type": "Hidden",
8626
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId + \"/notes\"",
8603
8627
  "binding": {
8604
8628
  "type": "zeebe:input",
8605
- "name": "authorEmail"
8629
+ "name": "url"
8606
8630
  },
8607
8631
  "condition": {
8608
- "property": "reposOperation",
8609
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8632
+ "property": "issueOperation",
8633
+ "oneOf": ["commentToAnIssue"]
8610
8634
  }
8611
8635
  },
8612
8636
  {
8613
- "label": "Author name",
8614
- "description": "The commit author's name",
8637
+ "label": "Scope",
8638
+ "description": "Return issues with the given scope",
8615
8639
  "group": "operation",
8616
- "type": "String",
8617
- "feel": "optional",
8640
+ "type": "Dropdown",
8618
8641
  "optional": true,
8642
+ "value": "all",
8643
+ "choices": [
8644
+ {
8645
+ "name": "All",
8646
+ "value": "all"
8647
+ },
8648
+ {
8649
+ "name": "Created by access token owner",
8650
+ "value": "created_by_me"
8651
+ },
8652
+ {
8653
+ "name": "Assigned by access token owner",
8654
+ "value": "assigned_to_me"
8655
+ }
8656
+ ],
8619
8657
  "binding": {
8620
8658
  "type": "zeebe:input",
8621
- "name": "authorName"
8659
+ "name": "searchIssueScope"
8622
8660
  },
8623
8661
  "condition": {
8624
- "property": "reposOperation",
8625
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8662
+ "property": "issueOperation",
8663
+ "oneOf": ["searchIssues"]
8626
8664
  }
8627
8665
  },
8628
8666
  {
8629
- "label": "Encoding",
8630
- "description": "Change encoding to <code>base64</code>. GitLab's default is <code>text</code>",
8667
+ "label": "State",
8668
+ "description": "Return all issues or just those that are opened or closed",
8631
8669
  "group": "operation",
8632
- "type": "String",
8633
- "feel": "optional",
8670
+ "type": "Dropdown",
8671
+ "value": "all",
8634
8672
  "optional": true,
8673
+ "choices": [
8674
+ {
8675
+ "name": "All",
8676
+ "value": "all"
8677
+ },
8678
+ {
8679
+ "name": "Opened",
8680
+ "value": "opened"
8681
+ },
8682
+ {
8683
+ "name": "Closed",
8684
+ "value": "closed"
8685
+ }
8686
+ ],
8635
8687
  "binding": {
8636
8688
  "type": "zeebe:input",
8637
- "name": "encoding"
8689
+ "name": "searchIssueState"
8638
8690
  },
8639
8691
  "condition": {
8640
- "property": "reposOperation",
8641
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8692
+ "property": "issueOperation",
8693
+ "oneOf": ["searchIssues"]
8642
8694
  }
8643
8695
  },
8644
8696
  {
8645
- "label": "Execute file mode",
8646
- "description": "Enables or disables the <code>execute</code> flag on the file",
8697
+ "label": "Assignee ID",
8698
+ "description": "Return issues assigned to the given user ID. Mutually exclusive with 'Assignee username'. None returns unassigned issues. 'Any' returns issues with an assignee",
8647
8699
  "group": "operation",
8648
- "type": "Boolean",
8700
+ "type": "String",
8649
8701
  "feel": "optional",
8650
- "value": "=false",
8702
+ "optional": true,
8651
8703
  "binding": {
8652
8704
  "type": "zeebe:input",
8653
- "name": "executeFilemode"
8705
+ "name": "searchIssueAssigneeId"
8654
8706
  },
8655
8707
  "condition": {
8656
- "property": "reposOperation",
8657
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8708
+ "property": "issueOperation",
8709
+ "oneOf": ["searchIssues"]
8658
8710
  }
8659
8711
  },
8660
8712
  {
8661
- "label": "Start branch",
8662
- "description": "Name of the base branch to start the new branch from",
8713
+ "label": "Assignee username",
8714
+ "description": " Return issues assigned to the given username. Similar to 'Assignee ID' and mutually exclusive with 'Assignee ID'",
8663
8715
  "group": "operation",
8664
8716
  "type": "String",
8665
8717
  "feel": "optional",
8666
8718
  "optional": true,
8667
8719
  "binding": {
8668
8720
  "type": "zeebe:input",
8669
- "name": "startBranch"
8721
+ "name": "searchIssueAssigneeUsername"
8670
8722
  },
8671
8723
  "condition": {
8672
- "property": "reposOperation",
8673
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8724
+ "property": "issueOperation",
8725
+ "oneOf": ["searchIssues"]
8674
8726
  }
8675
8727
  },
8676
8728
  {
8677
- "label": "Reference",
8678
- "description": "Name of the branch, tag or commit the file is fetched from",
8729
+ "label": "Author ID",
8730
+ "description": "Return issues created by the given user ID",
8679
8731
  "group": "operation",
8680
8732
  "type": "String",
8681
8733
  "feel": "optional",
8734
+ "optional": true,
8682
8735
  "binding": {
8683
8736
  "type": "zeebe:input",
8684
- "name": "repositoryFileReference"
8685
- },
8686
- "constraints": {
8687
- "notEmpty": true
8737
+ "name": "searchIssueAuthorId"
8688
8738
  },
8689
8739
  "condition": {
8690
- "property": "branchOperation",
8691
- "oneOf": ["getRepositoryFile"]
8740
+ "property": "issueOperation",
8741
+ "oneOf": ["searchIssues"]
8692
8742
  }
8693
8743
  },
8694
8744
  {
8695
- "type": "Hidden",
8696
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/files/\" + filePath",
8745
+ "label": "Contains text",
8746
+ "description": "Search issues against their title and description",
8747
+ "group": "operation",
8748
+ "type": "String",
8749
+ "feel": "optional",
8750
+ "optional": true,
8697
8751
  "binding": {
8698
8752
  "type": "zeebe:input",
8699
- "name": "url"
8753
+ "name": "searchIssueSearch"
8700
8754
  },
8701
8755
  "condition": {
8702
- "property": "reposOperation",
8703
- "oneOf": [
8704
- "createRepositoryFile",
8705
- "getRepositoryFile",
8706
- "updateRepositoryFile"
8707
- ]
8756
+ "property": "issueOperation",
8757
+ "oneOf": ["searchIssues"]
8708
8758
  }
8709
8759
  },
8710
8760
  {
8711
8761
  "type": "Hidden",
8712
- "value": "={\"branch\": if branchName = null then null else branchName, \"commit_message\": if commitMessage = null then null else commitMessage, \"content\": if content = null then null else content, \"author_email\": if authorEmail = null then null else authorEmail, \"author_name\": if authorName = null then null else authorName, \"encoding\": if encoding = null then null else encoding, \"execute_filemode\": if executeFilemode = null then null else executeFilemode, \"start_branch\": if startBranch = null then null else startBranch}",
8762
+ "value": "={\"state\":if searchIssueState = null then null else searchIssueState, \"scope\": if searchIssueScope = null then null else searchIssueScope, \"assignee_id\": if searchIssueAssigneeId = null then null else searchIssueAssigneeId, \"assignee_username\": if searchIssueAssigneeUsername = null then null else searchIssueAssigneeUsername, \"author_id\": if searchIssueAuthorId = null then null else searchIssueAuthorId, \"search\": if searchIssueSearch = null then null else searchIssueSearch}",
8713
8763
  "binding": {
8714
8764
  "type": "zeebe:input",
8715
- "name": "body"
8765
+ "name": "queryParameters"
8716
8766
  },
8717
8767
  "condition": {
8718
- "property": "reposOperation",
8719
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
8768
+ "property": "issueOperation",
8769
+ "oneOf": ["searchIssues"]
8720
8770
  }
8721
8771
  },
8722
8772
  {
8723
8773
  "type": "Hidden",
8724
- "value": "={\"ref\":repositoryFileReference}",
8774
+ "value": "=baseUrl + \"/api/v4/issues\"",
8725
8775
  "binding": {
8726
8776
  "type": "zeebe:input",
8727
- "name": "queryParameters"
8777
+ "name": "url"
8728
8778
  },
8729
8779
  "condition": {
8730
- "property": "reposOperation",
8731
- "oneOf": ["getRepositoryFile"]
8780
+ "property": "issueOperation",
8781
+ "oneOf": ["searchIssues"]
8732
8782
  }
8733
8783
  },
8734
8784
  {
8735
- "label": "Source branch",
8785
+ "label": "Project ID",
8786
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
8736
8787
  "group": "operation",
8737
8788
  "type": "String",
8738
8789
  "feel": "optional",
8739
8790
  "binding": {
8740
8791
  "type": "zeebe:input",
8741
- "name": "sourceBranch"
8792
+ "name": "projectId"
8742
8793
  },
8743
8794
  "constraints": {
8744
8795
  "notEmpty": true
8745
8796
  },
8746
8797
  "condition": {
8747
- "property": "mergeOperation",
8748
- "oneOf": ["createMergeRequest"]
8798
+ "property": "releaseOperation",
8799
+ "oneOf": ["getReleasesByProjectId"]
8749
8800
  }
8750
8801
  },
8751
8802
  {
8752
- "label": "Target branch",
8753
- "group": "operation",
8754
- "type": "String",
8755
- "feel": "optional",
8803
+ "type": "Hidden",
8804
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
8756
8805
  "binding": {
8757
8806
  "type": "zeebe:input",
8758
- "name": "targetBranch"
8759
- },
8760
- "constraints": {
8761
- "notEmpty": true
8807
+ "name": "url"
8762
8808
  },
8763
8809
  "condition": {
8764
- "property": "mergeOperation",
8765
- "oneOf": ["createMergeRequest"]
8810
+ "property": "releaseOperation",
8811
+ "oneOf": ["getReleasesByProjectId"]
8766
8812
  }
8767
8813
  },
8768
8814
  {
8769
- "label": "Title",
8815
+ "label": "Project ID",
8816
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
8770
8817
  "group": "operation",
8771
8818
  "type": "String",
8772
8819
  "feel": "optional",
8773
8820
  "binding": {
8774
8821
  "type": "zeebe:input",
8775
- "name": "title"
8822
+ "name": "projectId"
8776
8823
  },
8777
8824
  "constraints": {
8778
8825
  "notEmpty": true
8779
8826
  },
8780
8827
  "condition": {
8781
- "property": "mergeOperation",
8782
- "oneOf": ["createMergeRequest"]
8828
+ "property": "releaseOperation",
8829
+ "oneOf": ["getReleaseByTagName"]
8783
8830
  }
8784
8831
  },
8785
8832
  {
8786
- "label": "Allow collaboration",
8787
- "description": "Allow commits from members who can merge to the target branch",
8833
+ "label": "Tag name",
8834
+ "description": "The Git tag the release is associated with",
8788
8835
  "group": "operation",
8789
- "type": "Boolean",
8836
+ "type": "String",
8790
8837
  "feel": "optional",
8791
- "value": "=false",
8792
8838
  "binding": {
8793
8839
  "type": "zeebe:input",
8794
- "name": "allowCollaboration"
8840
+ "name": "releaseTagName"
8841
+ },
8842
+ "constraints": {
8843
+ "notEmpty": true
8795
8844
  },
8796
8845
  "condition": {
8797
- "property": "reposOperation",
8798
- "oneOf": ["createRepositoryFile"]
8846
+ "property": "releaseOperation",
8847
+ "oneOf": ["getReleaseByTagName"]
8799
8848
  }
8800
8849
  },
8801
8850
  {
8802
- "label": "Assignee IDs",
8803
- "description": "The ID of the users to assign the merge request to as an array of numbers",
8804
- "group": "operation",
8805
- "type": "String",
8806
- "feel": "optional",
8807
- "optional": true,
8851
+ "type": "Hidden",
8852
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases/\" + releaseTagName",
8808
8853
  "binding": {
8809
8854
  "type": "zeebe:input",
8810
- "name": "assigneeIds"
8855
+ "name": "url"
8811
8856
  },
8812
8857
  "condition": {
8813
- "property": "mergeOperation",
8814
- "oneOf": ["createMergeRequest"]
8858
+ "property": "releaseOperation",
8859
+ "oneOf": ["getReleaseByTagName"]
8815
8860
  }
8816
8861
  },
8817
8862
  {
8818
- "label": "Description",
8863
+ "label": "Project ID",
8864
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
8819
8865
  "group": "operation",
8820
8866
  "type": "String",
8821
8867
  "feel": "optional",
8822
- "optional": true,
8823
8868
  "binding": {
8824
8869
  "type": "zeebe:input",
8825
- "name": "description"
8870
+ "name": "projectId"
8871
+ },
8872
+ "constraints": {
8873
+ "notEmpty": true
8826
8874
  },
8827
8875
  "condition": {
8828
- "property": "mergeOperation",
8829
- "oneOf": ["createMergeRequest"]
8876
+ "property": "releaseOperation",
8877
+ "oneOf": ["createRelease"]
8830
8878
  }
8831
8879
  },
8832
8880
  {
8833
- "label": "Labels",
8834
- "description": "Labels for the merge request, as a comma-separated list",
8881
+ "label": "Tag name",
8882
+ "description": "The tag where the release is created from",
8835
8883
  "group": "operation",
8836
8884
  "type": "String",
8837
8885
  "feel": "optional",
8838
- "optional": true,
8839
8886
  "binding": {
8840
8887
  "type": "zeebe:input",
8841
- "name": "labels"
8888
+ "name": "releaseTagName"
8889
+ },
8890
+ "constraints": {
8891
+ "notEmpty": true
8842
8892
  },
8843
8893
  "condition": {
8844
- "property": "mergeOperation",
8845
- "oneOf": ["createMergeRequest"]
8894
+ "property": "releaseOperation",
8895
+ "oneOf": ["createRelease"]
8846
8896
  }
8847
8897
  },
8848
8898
  {
8849
- "label": "Milestone ID",
8899
+ "label": "Ref",
8900
+ "description": "A commit SHA, another tag name, or a branch name",
8850
8901
  "group": "operation",
8851
8902
  "type": "String",
8852
8903
  "feel": "optional",
8853
- "optional": true,
8854
8904
  "binding": {
8855
8905
  "type": "zeebe:input",
8856
- "name": "assigneeIds"
8906
+ "name": "releaseRef"
8857
8907
  },
8858
- "condition": {
8859
- "property": "mergeOperation",
8860
- "oneOf": ["createMergeRequest"]
8861
- }
8862
- },
8863
- {
8864
- "label": "Remove source branch",
8865
- "description": "Flag indicating if a merge request should remove the source branch when merging",
8866
- "group": "operation",
8867
- "type": "Boolean",
8868
- "feel": "optional",
8869
- "value": "=false",
8870
- "binding": {
8871
- "type": "zeebe:input",
8872
- "name": "removeSourceBranch"
8908
+ "constraints": {
8909
+ "notEmpty": true
8873
8910
  },
8874
8911
  "condition": {
8875
- "property": "mergeOperation",
8876
- "oneOf": ["createMergeRequest"]
8912
+ "property": "releaseOperation",
8913
+ "oneOf": ["createRelease"]
8877
8914
  }
8878
8915
  },
8879
8916
  {
8880
- "label": "Reviewer IDs",
8881
- "description": "The ID of the users added as a reviewer to the merge request as an array of numbers",
8917
+ "label": "Release name",
8918
+ "description": "The release name",
8882
8919
  "group": "operation",
8883
8920
  "type": "String",
8884
8921
  "feel": "optional",
8885
8922
  "optional": true,
8886
8923
  "binding": {
8887
8924
  "type": "zeebe:input",
8888
- "name": "reviewerIds"
8889
- },
8890
- "condition": {
8891
- "property": "mergeOperation",
8892
- "oneOf": ["createMergeRequest"]
8893
- }
8894
- },
8895
- {
8896
- "label": "Squash",
8897
- "description": "Indicates if the merge request is set to be squashed when merged. Project settings might override this value",
8898
- "group": "operation",
8899
- "type": "Boolean",
8900
- "feel": "optional",
8901
- "value": "=false",
8902
- "binding": {
8903
- "type": "zeebe:input",
8904
- "name": "squash"
8925
+ "name": "releaseName"
8905
8926
  },
8906
8927
  "condition": {
8907
- "property": "mergeOperation",
8908
- "oneOf": ["createMergeRequest"]
8928
+ "property": "releaseOperation",
8929
+ "oneOf": ["createRelease"]
8909
8930
  }
8910
8931
  },
8911
8932
  {
8912
- "label": "Target project ID",
8913
- "description": "Numeric ID of the target project",
8933
+ "label": "Description",
8934
+ "description": "The description of the release",
8914
8935
  "group": "operation",
8915
- "type": "String",
8936
+ "type": "Text",
8916
8937
  "feel": "optional",
8917
8938
  "optional": true,
8918
8939
  "binding": {
8919
8940
  "type": "zeebe:input",
8920
- "name": "targetProjectId"
8941
+ "name": "releaseDescription"
8921
8942
  },
8922
8943
  "condition": {
8923
- "property": "mergeOperation",
8924
- "oneOf": ["createMergeRequest"]
8944
+ "property": "releaseOperation",
8945
+ "oneOf": ["createRelease"]
8925
8946
  }
8926
8947
  },
8927
8948
  {
8928
8949
  "type": "Hidden",
8929
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/merge_requests\"",
8950
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
8930
8951
  "binding": {
8931
8952
  "type": "zeebe:input",
8932
8953
  "name": "url"
8933
8954
  },
8934
8955
  "condition": {
8935
- "property": "mergeOperation",
8936
- "oneOf": ["createMergeRequest"]
8956
+ "property": "releaseOperation",
8957
+ "oneOf": ["createRelease"]
8937
8958
  }
8938
8959
  },
8939
8960
  {
8940
8961
  "type": "Hidden",
8941
- "value": "={\"source_branch\": if sourceBranch = null then null else sourceBranch, \"target_branch\": if targetBranch = null then null else targetBranch, \"title\": if title = null then null else title, \"assignee_ids\": if assigneeIds = null then null else assigneeIds, \"description\": if description = null then null else description, \"labels\": if labels = null then null else labels, \"milestone_id\": if milestoneId = null then null else milestoneId, \"remove_source_branch\": if removeSourceBranch = null then null else removeSourceBranch, \"reviewer_ids\": if reviewerIds = null then null else reviewerIds, \"squash\": if squash = null then null else squash, \"target_project_id\": if targetProjectId = null then null else targetProjectId}",
8962
+ "value": "={\"tag_name\": if releaseTagName = null then null else releaseTagName, \"name\": if releaseName = null then null else releaseName, \"description\": if releaseDescription = null then releaseDescription else releaseDescription, \"ref\": if releaseRef = null then null else releaseRef}",
8942
8963
  "binding": {
8943
8964
  "type": "zeebe:input",
8944
8965
  "name": "body"
8945
8966
  },
8946
8967
  "condition": {
8947
- "property": "mergeOperation",
8948
- "oneOf": ["createMergeRequest"]
8968
+ "property": "releaseOperation",
8969
+ "oneOf": ["createRelease"]
8949
8970
  }
8950
8971
  },
8951
8972
  {
@@ -8987,32 +9008,11 @@
8987
9008
  "type": "zeebe:taskHeader",
8988
9009
  "key": "errorExpression"
8989
9010
  }
8990
- },
8991
- {
8992
- "id": "version",
8993
- "label": "Version",
8994
- "description": "Version of the element template",
8995
- "value": "7",
8996
- "group": "connector",
8997
- "binding": {
8998
- "key": "elementTemplateVersion",
8999
- "type": "zeebe:taskHeader"
9000
- },
9001
- "type": "Hidden"
9002
- },
9003
- {
9004
- "id": "id",
9005
- "label": "ID",
9006
- "description": "ID of the element template",
9007
- "value": "io.camunda.connectors.GitLab.v1",
9008
- "group": "connector",
9009
- "binding": {
9010
- "key": "elementTemplateId",
9011
- "type": "zeebe:taskHeader"
9012
- },
9013
- "type": "Hidden"
9014
9011
  }
9015
- ]
9012
+ ],
9013
+ "engines": {
9014
+ "camunda": "^8.2"
9015
+ }
9016
9016
  },
9017
9017
  {
9018
9018
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",