From d9fef9d07aef0632216a456dfe7ff6af11a11ce6 Mon Sep 17 00:00:00 2001 From: ivonapavela <92436197+ivonapavela@users.noreply.github.com> Date: Wed, 17 Dec 2025 16:51:30 +0100 Subject: [PATCH 1/6] 3182 - adding List Issue Comments action --- .../component/jira/JiraComponentHandler.java | 3 + .../action/JiraListIssueCommentsAction.java | 105 ++++++++++++++++++ .../jira/constant/JiraConstants.java | 1 + 3 files changed, 109 insertions(+) create mode 100644 server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java diff --git a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/JiraComponentHandler.java b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/JiraComponentHandler.java index 98b9830c35a..3df64b51c7e 100644 --- a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/JiraComponentHandler.java +++ b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/JiraComponentHandler.java @@ -26,6 +26,7 @@ import com.bytechef.component.jira.action.JiraCreateIssueAction; import com.bytechef.component.jira.action.JiraCreateIssueCommentAction; import com.bytechef.component.jira.action.JiraGetIssueAction; +import com.bytechef.component.jira.action.JiraListIssueCommentsAction; import com.bytechef.component.jira.action.JiraSearchForIssuesUsingJqlAction; import com.bytechef.component.jira.connection.JiraConnection; import com.bytechef.component.jira.trigger.JiraNewIssueTrigger; @@ -55,12 +56,14 @@ public class JiraComponentHandler implements ComponentHandler { JiraCreateIssueAction.ACTION_DEFINITION, JiraCreateIssueCommentAction.ACTION_DEFINITION, JiraGetIssueAction.ACTION_DEFINITION, + JiraListIssueCommentsAction.ACTION_DEFINITION, JiraSearchForIssuesUsingJqlAction.ACTION_DEFINITION) .clusterElements( tool(JiraAssignIssueAction.ACTION_DEFINITION), tool(JiraCreateIssueAction.ACTION_DEFINITION), tool(JiraCreateIssueCommentAction.ACTION_DEFINITION), tool(JiraGetIssueAction.ACTION_DEFINITION), + tool(JiraListIssueCommentsAction.ACTION_DEFINITION), tool(JiraSearchForIssuesUsingJqlAction.ACTION_DEFINITION)) .triggers( JiraNewIssueTrigger.TRIGGER_DEFINITION, diff --git a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java new file mode 100644 index 00000000000..9579908dafd --- /dev/null +++ b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java @@ -0,0 +1,105 @@ +/* + * Copyright 2025 ByteChef + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.bytechef.component.jira.action; + +import static com.bytechef.component.definition.ComponentDsl.action; +import static com.bytechef.component.definition.ComponentDsl.array; +import static com.bytechef.component.definition.ComponentDsl.integer; +import static com.bytechef.component.definition.ComponentDsl.object; +import static com.bytechef.component.definition.ComponentDsl.option; +import static com.bytechef.component.definition.ComponentDsl.outputSchema; +import static com.bytechef.component.definition.ComponentDsl.string; +import static com.bytechef.component.jira.constant.JiraConstants.ISSUE_ID; +import static com.bytechef.component.jira.constant.JiraConstants.MAX_RESULTS; +import static com.bytechef.component.jira.constant.JiraConstants.ORDER_BY; +import static com.bytechef.component.jira.constant.JiraConstants.PROJECT; + +import com.bytechef.component.definition.ActionDefinition; +import com.bytechef.component.definition.ComponentDsl.ModifiableActionDefinition; +import com.bytechef.component.definition.Context; +import com.bytechef.component.definition.Context.Http; +import com.bytechef.component.definition.Parameters; +import com.bytechef.component.definition.TypeReference; +import com.bytechef.component.jira.util.JiraOptionsUtils; + +/** + * @author Ivona Pavela + */ +public class JiraListIssueCommentsAction { + + public static final ModifiableActionDefinition ACTION_DEFINITION = action("listIssueComments") + .title("List Issue Comments") + .description("Return all comments for an issue.") + .properties( + string(PROJECT) + .label("Project ID") + .description("ID of the project where the issue is located.") + .options((ActionDefinition.OptionsFunction) JiraOptionsUtils::getProjectIdOptions) + .required(false), + string(ISSUE_ID) + .label("Issue ID") + .description("ID of the issue.") + .options((ActionDefinition.OptionsFunction) JiraOptionsUtils::getIssueIdOptions) + .optionsLookupDependsOn(PROJECT) + .required(true), + string(ORDER_BY) + .label("Order By") + .description("Order the results by a field.") + .options( + option("Created", "created", "Order by created date."), + option("+Created", "+created", "Order ascending by created date."), + option("-Created", "-created", "Order descending by created date.")) + .required(false), + integer(MAX_RESULTS) + .label("Max Results") + .description("The maximum number of items to return per page.") + .required(false)) + .output( + outputSchema( + object().properties( + integer("maxResults"), + integer("startAt"), + integer("total"), + array("comments") + .label("Comments") + .description("List of comments on the issue") + .items( + object().properties( + string("id").label("Comment ID"), + string("self").label("API URL for the comment"), + object("body").properties( + array("content").items( + object().properties( + string("text")))), + object("author").properties( + string("displayName")), + string("created"), + string("updated")))))) + .perform(JiraListIssueCommentsAction::perform); + + public static Object perform(Parameters inputParameters, Parameters connectionParameters, Context context) { + + return context + .http(http -> http.get("/issue/" + inputParameters.getRequiredString(ISSUE_ID) + "/comment")) + .configuration(Http.responseType(Http.ResponseType.JSON)) + .queryParameters( + ORDER_BY, inputParameters.getString(ORDER_BY), + MAX_RESULTS, inputParameters.getInteger(MAX_RESULTS)) + .execute() + .getBody(new TypeReference<>() {}); + } +} diff --git a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/constant/JiraConstants.java b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/constant/JiraConstants.java index 4253103cbe0..f9dda3ddb64 100644 --- a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/constant/JiraConstants.java +++ b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/constant/JiraConstants.java @@ -50,6 +50,7 @@ public class JiraConstants { public static final String SUMMARY = "summary"; public static final String TEXT = "text"; public static final String TYPE = "type"; + public static final String ORDER_BY = "orderBy"; public static final ModifiableObjectProperty ISSUE_OUTPUT_PROPERTY = object() .properties( From ce20b33887dcdb21f4d463569458c1f1b2795dae Mon Sep 17 00:00:00 2001 From: ivonapavela <92436197+ivonapavela@users.noreply.github.com> Date: Wed, 17 Dec 2025 16:51:51 +0100 Subject: [PATCH 2/6] 3182 - adding test --- .../JiraListIssueCommentsActionTest.java | 98 + .../test/resources/definition/jira_v1.json | 4080 ++++++++++++----- 2 files changed, 2927 insertions(+), 1251 deletions(-) create mode 100644 server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java diff --git a/server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java b/server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java new file mode 100644 index 00000000000..b949b9479f4 --- /dev/null +++ b/server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java @@ -0,0 +1,98 @@ +/* + * Copyright 2025 ByteChef + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.bytechef.component.jira.action; + +import static com.bytechef.component.jira.constant.JiraConstants.ISSUE_ID; +import static com.bytechef.component.jira.constant.JiraConstants.MAX_RESULTS; +import static com.bytechef.component.jira.constant.JiraConstants.ORDER_BY; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.mockito.ArgumentCaptor.forClass; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + +import com.bytechef.component.definition.ActionContext; +import com.bytechef.component.definition.Context; +import com.bytechef.component.definition.Context.ContextFunction; +import com.bytechef.component.definition.Context.Http; +import com.bytechef.component.definition.Context.Http.Configuration.ConfigurationBuilder; +import com.bytechef.component.definition.Parameters; +import com.bytechef.component.definition.TypeReference; +import com.bytechef.component.test.definition.MockParametersFactory; +import java.util.Map; +import org.junit.jupiter.api.Test; +import org.mockito.ArgumentCaptor; + +/** + * @author Ivona Pavela + */ +class JiraListIssueCommentsActionTest { + + private final ArgumentCaptor configurationBuilderArgumentCaptor = + forClass(ConfigurationBuilder.class); + @SuppressWarnings("unchecked") + private final ArgumentCaptor> httpFunctionArgumentCaptor = + forClass(ContextFunction.class); + private final ActionContext mockedActionContext = mock(ActionContext.class); + private final Http.Executor mockedExecutor = mock(Http.Executor.class); + private final Http mockedHttp = mock(Http.class); + private final Parameters mockedParameters = MockParametersFactory.create( + Map.of( + ISSUE_ID, "xy", + ORDER_BY, "+created", + MAX_RESULTS, 50)); + private final Http.Response mockedResponse = mock(Http.Response.class); + private final Map responseMap = Map.of("comments", "example"); + private final ArgumentCaptor stringArgumentCaptor = forClass(String.class); + + @Test + void testPerform() { + when(mockedActionContext.http(httpFunctionArgumentCaptor.capture())) + .thenAnswer(_ -> httpFunctionArgumentCaptor.getValue() + .apply(mockedHttp)); + when(mockedHttp.get(stringArgumentCaptor.capture())) + .thenReturn(mockedExecutor); + when(mockedExecutor.configuration(configurationBuilderArgumentCaptor.capture())) + .thenReturn(mockedExecutor); + when(mockedExecutor.queryParameters(ORDER_BY, "+created", MAX_RESULTS, 50)) + .thenReturn(mockedExecutor); + when(mockedExecutor.execute()) + .thenReturn(mockedResponse); + when(mockedResponse.getBody(any(TypeReference.class))) + .thenReturn(responseMap); + + Object result = JiraListIssueCommentsAction.perform(mockedParameters, null, mockedActionContext); + assertEquals(responseMap, result); + + ContextFunction capturedFunction = httpFunctionArgumentCaptor.getValue(); + + assertNotNull(capturedFunction); + + ConfigurationBuilder configurationBuilder = configurationBuilderArgumentCaptor.getValue(); + + Http.Configuration configuration = configurationBuilder.build(); + + Http.ResponseType responseType = configuration.getResponseType(); + + assertEquals(Http.ResponseType.Type.JSON, responseType.getType()); + + assertEquals("/issue/xy/comment", stringArgumentCaptor.getValue()); + + } + +} diff --git a/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json b/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json index 191be470423..2d4ef7d3288 100644 --- a/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json +++ b/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json @@ -2259,26 +2259,33 @@ }, { "batch": null, "deprecated": null, - "description": "Search for issues using JQL.", + "description": "Return all comments for an issue.", "help": null, "metadata": null, - "name": "searchForIssuesUsingJql", + "name": "listIssueComments", "outputDefinition": { "output": null, "outputResponse": { "outputSchema": { + "additionalProperties": null, "advancedOption": null, - "controlType": "ARRAY_BUILDER", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "items": [ { - "additionalProperties": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { "advancedOption": null, - "controlType": "OBJECT_BUILDER", + "controlType": "INTEGER", "defaultValue": null, "description": null, "displayCondition": null, @@ -2286,66 +2293,334 @@ "expressionEnabled": null, "hidden": null, "label": null, + "maxValue": null, "metadata": { }, - "multipleValues": null, - "name": null, + "minValue": null, + "name": "maxResults", "options": null, "optionsDataSource": null, "placeholder": null, - "properties": [ { + "required": null, + "type": "INTEGER" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "startAt", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "total", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { + "advancedOption": null, + "controlType": "ARRAY_BUILDER", + "defaultValue": null, + "description": "List of comments on the issue", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "items": [ { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, - "description": "The ID of the issue.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "id", + "multipleValues": null, + "name": null, "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Comment ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "API URL for the comment", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "body", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "ARRAY_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "items": [ { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "text", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + } ], + "label": null, + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "content", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "ARRAY" + } ], + "required": null, + "type": "OBJECT" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "author", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "created", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "updated", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" } ], + "label": "Comments", + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "comments", + "options": null, + "optionsDataSource": null, + "placeholder": null, "required": null, - "type": "OBJECT" + "type": "ARRAY" } ], - "label": null, - "maxItems": null, - "metadata": { }, - "minItems": null, - "multipleValues": null, - "name": null, - "options": null, - "optionsDataSource": null, - "placeholder": null, "required": null, - "type": "ARRAY" + "type": "OBJECT" }, "placeholder": null, "sampleOutput": null }, "outputSchema": { + "additionalProperties": null, "advancedOption": null, - "controlType": "ARRAY_BUILDER", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "items": [ { - "additionalProperties": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { "advancedOption": null, - "controlType": "OBJECT_BUILDER", + "controlType": "INTEGER", "defaultValue": null, "description": null, "displayCondition": null, @@ -2353,87 +2628,315 @@ "expressionEnabled": null, "hidden": null, "label": null, + "maxValue": null, "metadata": { }, - "multipleValues": null, - "name": null, + "minValue": null, + "name": "maxResults", "options": null, "optionsDataSource": null, "placeholder": null, - "properties": [ { + "required": null, + "type": "INTEGER" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "startAt", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "total", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { + "advancedOption": null, + "controlType": "ARRAY_BUILDER", + "defaultValue": null, + "description": "List of comments on the issue", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "items": [ { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, - "description": "The ID of the issue.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "id", + "multipleValues": null, + "name": null, "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Comment ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "API URL for the comment", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "body", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "ARRAY_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "items": [ { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "text", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + } ], + "label": null, + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "content", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "ARRAY" + } ], + "required": null, + "type": "OBJECT" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "author", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "created", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "updated", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" } ], + "label": "Comments", + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "comments", + "options": null, + "optionsDataSource": null, + "placeholder": null, "required": null, - "type": "OBJECT" + "type": "ARRAY" } ], - "label": null, - "maxItems": null, - "metadata": { }, - "minItems": null, - "multipleValues": null, - "name": null, - "options": null, - "optionsDataSource": null, - "placeholder": null, "required": null, - "type": "ARRAY" + "type": "OBJECT" }, "sampleOutput": null }, "perform": { }, "processErrorResponse": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "The JQL that defines the search. If no JQL expression is provided, all issues are returned.", - "displayCondition": null, - "exampleValue": "project = HSP", - "expressionEnabled": null, - "hidden": null, - "label": "JQL", - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "jql", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": true, - "type": "STRING" - } ], - "title": "Search Issues", - "workflowNodeDescription": null - } ], - "clusterElements": [ { - "description": "Assigns an existing issue to a specific user.", - "element": { }, - "help": null, - "name": "assignIssue", - "outputDefinition": null, - "processErrorResponse": null, "properties": [ { "advancedOption": null, "controlType": "SELECT", @@ -2463,7 +2966,7 @@ "advancedOption": null, "controlType": "SELECT", "defaultValue": null, - "description": "ID of the issue that will be assigned.", + "description": "ID of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2488,111 +2991,166 @@ "advancedOption": null, "controlType": "SELECT", "defaultValue": null, - "description": "ID of the account user who will be assigned the issue.", + "description": "Order the results by a field.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Account ID", + "label": "Order By", "languageId": null, "maxLength": null, "metadata": { }, "minLength": null, - "name": "accountId", - "options": null, - "optionsDataSource": { - "options": { }, - "optionsLookupDependsOn": null - }, + "name": "orderBy", + "options": [ { + "description": "Order by created date.", + "label": "Created", + "value": "created" + }, { + "description": "Order ascending by created date.", + "label": "+Created", + "value": "+created" + }, { + "description": "Order descending by created date.", + "label": "-Created", + "value": "-created" + } ], + "optionsDataSource": null, "optionsLoadedDynamically": null, "placeholder": null, "regex": null, - "required": true, + "required": false, "type": "STRING" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": "The maximum number of items to return per page.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Max Results", + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "maxResults", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": false, + "type": "INTEGER" } ], - "title": "Assign Issue", - "type": { - "key": "tools", - "label": "Tools", - "multipleElements": true, - "name": "TOOLS", - "required": false - }, + "title": "List Issue Comments", "workflowNodeDescription": null }, { - "description": "Creates a new issue.", - "element": { }, + "batch": null, + "deprecated": null, + "description": "Search for issues using JQL.", "help": null, - "name": "createIssue", + "metadata": null, + "name": "searchForIssuesUsingJql", "outputDefinition": { "output": null, "outputResponse": { "outputSchema": { - "additionalProperties": null, "advancedOption": null, - "controlType": "OBJECT_BUILDER", + "controlType": "ARRAY_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": null, - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "The ID of the created issue or subtask.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "id", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { + "items": [ { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, - "description": "The key of the created issue or subtask.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "key", + "multipleValues": null, + "name": null, "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The ID of the issue.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" - }, { + "type": "OBJECT" + } ], + "label": null, + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "ARRAY" + }, + "placeholder": null, + "sampleOutput": null + }, + "outputSchema": { + "advancedOption": null, + "controlType": "ARRAY_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "items": [ { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "The URL of the created issue or subtask.", + "description": "The ID of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2602,7 +3160,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "self", + "name": "id", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -2613,187 +3171,96 @@ } ], "required": null, "type": "OBJECT" - }, - "placeholder": null, - "sampleOutput": null - }, - "outputSchema": { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, + } ], "label": null, + "maxItems": null, "metadata": { }, + "minItems": null, "multipleValues": null, "name": null, "options": null, "optionsDataSource": null, "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "The ID of the created issue or subtask.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "id", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "The key of the created issue or subtask.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "key", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "The URL of the created issue or subtask.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "self", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], "required": null, - "type": "OBJECT" + "type": "ARRAY" }, "sampleOutput": null }, + "perform": { }, "processErrorResponse": null, "properties": [ { "advancedOption": null, - "controlType": "SELECT", + "controlType": "TEXT", "defaultValue": null, - "description": "ID of the project to create the issue in.", + "description": "The JQL that defines the search. If no JQL expression is provided, all issues are returned.", "displayCondition": null, - "exampleValue": null, + "exampleValue": "project = HSP", "expressionEnabled": null, "hidden": null, - "label": "Project ID", + "label": "JQL", "languageId": null, "maxLength": null, "metadata": { }, "minLength": null, - "name": "project", + "name": "jql", "options": null, - "optionsDataSource": { - "options": { }, - "optionsLookupDependsOn": null - }, + "optionsDataSource": null, "optionsLoadedDynamically": null, "placeholder": null, "regex": null, "required": true, "type": "STRING" - }, { + } ], + "title": "Search Issues", + "workflowNodeDescription": null + } ], + "clusterElements": [ { + "description": "Assigns an existing issue to a specific user.", + "element": { }, + "help": null, + "name": "assignIssue", + "outputDefinition": null, + "processErrorResponse": null, + "properties": [ { "advancedOption": null, - "controlType": "TEXT", + "controlType": "SELECT", "defaultValue": null, - "description": "A brief summary of the issue.", + "description": "ID of the project where the issue is located.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Summary", + "label": "Project ID", "languageId": null, "maxLength": null, "metadata": { }, "minLength": null, - "name": "summary", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": true, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "SELECT", - "defaultValue": null, - "description": "Id of the issue type.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": "Issue Type ID", - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "issuetype", + "name": "project", "options": null, "optionsDataSource": { "options": { }, - "optionsLookupDependsOn": [ "project" ] + "optionsLookupDependsOn": null }, "optionsLoadedDynamically": null, "placeholder": null, "regex": null, - "required": true, + "required": false, "type": "STRING" }, { "advancedOption": null, "controlType": "SELECT", "defaultValue": null, - "description": "ID of the parent issue.", - "displayCondition": "issuetype == '10003'", + "description": "ID of the issue that will be assigned.", + "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Parent Issue ID", + "label": "Issue ID", "languageId": null, "maxLength": null, "metadata": { }, "minLength": null, - "name": "parent", + "name": "issueId", "options": null, "optionsDataSource": { "options": { }, @@ -2808,42 +3275,17 @@ "advancedOption": null, "controlType": "SELECT", "defaultValue": null, - "description": "ID of the user who will be assigned to the issue.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": "Assignee ID", - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "assignee", - "options": null, - "optionsDataSource": { - "options": { }, - "optionsLookupDependsOn": null - }, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": false, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "SELECT", - "defaultValue": null, - "description": "ID of the priority of the issue.", + "description": "ID of the account user who will be assigned the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Priority ID", + "label": "Account ID", "languageId": null, "maxLength": null, "metadata": { }, "minLength": null, - "name": "priority", + "name": "accountId", "options": null, "optionsDataSource": { "options": { }, @@ -2852,32 +3294,10 @@ "optionsLoadedDynamically": null, "placeholder": null, "regex": null, - "required": false, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT_AREA", - "defaultValue": null, - "description": "Description of the issue.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": "Description", - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "description", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": false, + "required": true, "type": "STRING" } ], - "title": "Create Issue", + "title": "Assign Issue", "type": { "key": "tools", "label": "Tools", @@ -2887,10 +3307,10 @@ }, "workflowNodeDescription": null }, { - "description": "Adds a comment to an issue.", + "description": "Creates a new issue.", "element": { }, "help": null, - "name": "createIssueComment", + "name": "createIssue", "outputDefinition": { "output": null, "outputResponse": { @@ -2915,7 +3335,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The ID of the created issue or subtask.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2925,7 +3345,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "self", + "name": "id", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -2937,7 +3357,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The key of the created issue or subtask.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2947,7 +3367,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "id", + "name": "key", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -2955,121 +3375,11 @@ "regex": null, "required": null, "type": "STRING" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "author", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "accountId", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "SELECT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "name": "active", - "options": [ { - "description": null, - "label": "True", - "value": true - }, { - "description": null, - "label": "False", - "value": false - } ], - "placeholder": null, - "required": null, - "type": "BOOLEAN" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "displayName", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "self", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" }, { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The URL of the created issue or subtask.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3079,7 +3389,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "body", + "name": "self", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3087,121 +3397,1304 @@ "regex": null, "required": null, "type": "STRING" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "updateAuthor", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "accountId", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, + } ], + "required": null, + "type": "OBJECT" + }, + "placeholder": null, + "sampleOutput": null + }, + "outputSchema": { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The ID of the created issue or subtask.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The key of the created issue or subtask.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "key", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The URL of the created issue or subtask.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, + "sampleOutput": null + }, + "processErrorResponse": null, + "properties": [ { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "ID of the project to create the issue in.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Project ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "project", + "options": null, + "optionsDataSource": { + "options": { }, + "optionsLookupDependsOn": null + }, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": true, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "A brief summary of the issue.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Summary", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "summary", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": true, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "Id of the issue type.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Issue Type ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "issuetype", + "options": null, + "optionsDataSource": { + "options": { }, + "optionsLookupDependsOn": [ "project" ] + }, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": true, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "ID of the parent issue.", + "displayCondition": "issuetype == '10003'", + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Parent Issue ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "parent", + "options": null, + "optionsDataSource": { + "options": { }, + "optionsLookupDependsOn": [ "project" ] + }, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": true, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "ID of the user who will be assigned to the issue.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Assignee ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "assignee", + "options": null, + "optionsDataSource": { + "options": { }, + "optionsLookupDependsOn": null + }, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": false, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "ID of the priority of the issue.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Priority ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "priority", + "options": null, + "optionsDataSource": { + "options": { }, + "optionsLookupDependsOn": null + }, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": false, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT_AREA", + "defaultValue": null, + "description": "Description of the issue.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Description", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "description", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": false, + "type": "STRING" + } ], + "title": "Create Issue", + "type": { + "key": "tools", + "label": "Tools", + "multipleElements": true, + "name": "TOOLS", + "required": false + }, + "workflowNodeDescription": null + }, { + "description": "Adds a comment to an issue.", + "element": { }, + "help": null, + "name": "createIssueComment", + "outputDefinition": { + "output": null, + "outputResponse": { + "outputSchema": { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "author", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true + }, { + "description": null, + "label": "False", + "value": false + } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "body", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "updateAuthor", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, "controlType": "SELECT", "defaultValue": null, "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "name": "active", - "options": [ { - "description": null, - "label": "True", - "value": true - }, { - "description": null, - "label": "False", - "value": false - } ], - "placeholder": null, - "required": null, - "type": "BOOLEAN" + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true + }, { + "description": null, + "label": "False", + "value": false + } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "created", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "updated", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "visibility", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "identifier", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "type", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "value", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + } ], + "required": null, + "type": "OBJECT" + }, + "placeholder": null, + "sampleOutput": null + }, + "outputSchema": { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "author", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "displayName", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" + "label": "False", + "value": false + } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "body", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "updateAuthor", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "self", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" + "label": "False", + "value": false } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "created", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "updated", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "visibility", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "identifier", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "type", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "value", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + } ], + "required": null, + "type": "OBJECT" + }, + "sampleOutput": null + }, + "processErrorResponse": null, + "properties": [ { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "ID of the project where the issue is located.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Project ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "project", + "options": null, + "optionsDataSource": { + "options": { }, + "optionsLookupDependsOn": null + }, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": false, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "ID of the issue where the comment will be added.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Issue ID", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "issueId", + "options": null, + "optionsDataSource": { + "options": { }, + "optionsLookupDependsOn": [ "project" ] + }, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": true, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The text of the comment.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Comment", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "comment", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": true, + "type": "STRING" + } ], + "title": "Create Issue Comment", + "type": { + "key": "tools", + "label": "Tools", + "multipleElements": true, + "name": "TOOLS", + "required": false + }, + "workflowNodeDescription": null + }, { + "description": "Get issue details in selected project.", + "element": { }, + "help": null, + "name": "getIssue", + "outputDefinition": { + "output": null, + "outputResponse": { + "outputSchema": { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The ID of the issue.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, "required": null, - "type": "OBJECT" + "type": "STRING" }, { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The key of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3211,7 +4704,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "created", + "name": "key", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3223,7 +4716,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The URL of the issue details.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3233,7 +4726,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "updated", + "name": "self", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3254,13 +4747,14 @@ "label": null, "metadata": { }, "multipleValues": null, - "name": "visibility", + "name": "fields", "options": null, "optionsDataSource": null, "placeholder": null, "properties": [ { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, @@ -3268,21 +4762,63 @@ "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "identifier", + "multipleValues": null, + "name": "issuetype", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "ID of the issue type.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Name of the issue type.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "name", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, @@ -3290,23 +4826,192 @@ "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "type", + "multipleValues": null, + "name": "project", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "ID of the project.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Name of the project.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "name", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "priority", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "ID of the priority.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Name of the priority.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "name", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": "assignee", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Account ID of the assignee.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Display name of the assignee.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" }, { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "Summary of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3316,7 +5021,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "value", + "name": "summary", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3355,7 +5060,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The ID of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3365,7 +5070,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "self", + "name": "id", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3377,7 +5082,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The key of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3387,7 +5092,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "id", + "name": "key", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3395,121 +5100,11 @@ "regex": null, "required": null, "type": "STRING" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "author", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "accountId", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "SELECT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "name": "active", - "options": [ { - "description": null, - "label": "True", - "value": true - }, { - "description": null, - "label": "False", - "value": false - } ], - "placeholder": null, - "required": null, - "type": "BOOLEAN" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "displayName", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "self", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" }, { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The URL of the issue details.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3519,7 +5114,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "body", + "name": "self", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3540,13 +5135,14 @@ "label": null, "metadata": { }, "multipleValues": null, - "name": "updateAuthor", + "name": "fields", "options": null, "optionsDataSource": null, "placeholder": null, "properties": [ { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, @@ -3554,21 +5150,63 @@ "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "accountId", + "multipleValues": null, + "name": "issuetype", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "ID of the issue type.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Name of the issue type.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "name", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "SELECT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, @@ -3577,130 +5215,62 @@ "hidden": null, "label": null, "metadata": { }, - "name": "active", - "options": [ { - "description": null, - "label": "True", - "value": true + "multipleValues": null, + "name": "project", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "ID of the project.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" }, { - "description": null, - "label": "False", - "value": false + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Name of the project.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "name", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" } ], - "placeholder": null, - "required": null, - "type": "BOOLEAN" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "displayName", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, "required": null, - "type": "STRING" + "type": "OBJECT" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "self", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "created", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "updated", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "visibility", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, @@ -3708,21 +5278,63 @@ "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "identifier", + "multipleValues": null, + "name": "priority", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "ID of the priority.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "id", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Name of the priority.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "name", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, "description": null, "displayCondition": null, @@ -3730,23 +5342,64 @@ "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "type", + "multipleValues": null, + "name": "assignee", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Account ID of the assignee.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Display name of the assignee.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" }, { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "Summary of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3756,7 +5409,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "value", + "name": "summary", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -3803,7 +5456,7 @@ "advancedOption": null, "controlType": "SELECT", "defaultValue": null, - "description": "ID of the issue where the comment will be added.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -3824,30 +5477,8 @@ "regex": null, "required": true, "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "The text of the comment.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": "Comment", - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "comment", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": true, - "type": "STRING" } ], - "title": "Create Issue Comment", + "title": "Get Issue", "type": { "key": "tools", "label": "Tools", @@ -3857,10 +5488,10 @@ }, "workflowNodeDescription": null }, { - "description": "Get issue details in selected project.", + "description": "Return all comments for an issue.", "element": { }, "help": null, - "name": "getIssue", + "name": "listIssueComments", "outputDefinition": { "output": null, "outputResponse": { @@ -3883,88 +5514,71 @@ "placeholder": null, "properties": [ { "advancedOption": null, - "controlType": "TEXT", + "controlType": "INTEGER", "defaultValue": null, - "description": "The ID of the issue.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, + "maxValue": null, "metadata": { }, - "minLength": null, - "name": "id", + "minValue": null, + "name": "maxResults", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, "required": null, - "type": "STRING" + "type": "INTEGER" }, { "advancedOption": null, - "controlType": "TEXT", + "controlType": "INTEGER", "defaultValue": null, - "description": "The key of the issue.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, + "maxValue": null, "metadata": { }, - "minLength": null, - "name": "key", + "minValue": null, + "name": "startAt", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, "required": null, - "type": "STRING" + "type": "INTEGER" }, { "advancedOption": null, - "controlType": "TEXT", + "controlType": "INTEGER", "defaultValue": null, - "description": "The URL of the issue details.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, + "maxValue": null, "metadata": { }, - "minLength": null, - "name": "self", + "minValue": null, + "name": "total", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, "required": null, - "type": "STRING" + "type": "INTEGER" }, { - "additionalProperties": null, "advancedOption": null, - "controlType": "OBJECT_BUILDER", + "controlType": "ARRAY_BUILDER", "defaultValue": null, - "description": null, + "description": "List of comments on the issue", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "fields", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { + "items": [ { "additionalProperties": null, "advancedOption": null, "controlType": "OBJECT_BUILDER", @@ -3977,7 +5591,7 @@ "label": null, "metadata": { }, "multipleValues": null, - "name": "issuetype", + "name": null, "options": null, "optionsDataSource": null, "placeholder": null, @@ -3985,12 +5599,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "ID of the issue type.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": null, + "label": "Comment ID", "languageId": null, "maxLength": null, "metadata": { }, @@ -4007,59 +5621,17 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "Name of the issue type.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "name", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "project", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "ID of the project.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": null, + "label": "API URL for the comment", "languageId": null, "maxLength": null, "metadata": { }, "minLength": null, - "name": "id", + "name": "self", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -4068,116 +5640,135 @@ "required": null, "type": "STRING" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "Name of the project.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "name", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "priority", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, - "description": "ID of the priority.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "id", + "multipleValues": null, + "name": "body", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "ARRAY_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "items": [ { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "text", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + } ], + "label": null, + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "content", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "ARRAY" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, - "description": "Name of the priority.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "name", + "multipleValues": null, + "name": "author", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "assignee", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { + "type": "OBJECT" + }, { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "Account ID of the assignee.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -4187,7 +5778,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "accountId", + "name": "created", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -4199,7 +5790,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "Display name of the assignee.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -4209,7 +5800,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "displayName", + "name": "updated", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -4220,31 +5811,18 @@ } ], "required": null, "type": "OBJECT" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "Summary of the issue.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "summary", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" } ], + "label": "Comments", + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "comments", + "options": null, + "optionsDataSource": null, + "placeholder": null, "required": null, - "type": "OBJECT" + "type": "ARRAY" } ], "required": null, "type": "OBJECT" @@ -4271,88 +5849,71 @@ "placeholder": null, "properties": [ { "advancedOption": null, - "controlType": "TEXT", + "controlType": "INTEGER", "defaultValue": null, - "description": "The ID of the issue.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, + "maxValue": null, "metadata": { }, - "minLength": null, - "name": "id", + "minValue": null, + "name": "maxResults", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, "required": null, - "type": "STRING" + "type": "INTEGER" }, { "advancedOption": null, - "controlType": "TEXT", + "controlType": "INTEGER", "defaultValue": null, - "description": "The key of the issue.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, + "maxValue": null, "metadata": { }, - "minLength": null, - "name": "key", + "minValue": null, + "name": "startAt", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, "required": null, - "type": "STRING" + "type": "INTEGER" }, { "advancedOption": null, - "controlType": "TEXT", + "controlType": "INTEGER", "defaultValue": null, - "description": "The URL of the issue details.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, + "maxValue": null, "metadata": { }, - "minLength": null, - "name": "self", + "minValue": null, + "name": "total", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, "required": null, - "type": "STRING" + "type": "INTEGER" }, { - "additionalProperties": null, "advancedOption": null, - "controlType": "OBJECT_BUILDER", + "controlType": "ARRAY_BUILDER", "defaultValue": null, - "description": null, + "description": "List of comments on the issue", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "fields", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { + "hidden": null, + "items": [ { "additionalProperties": null, "advancedOption": null, "controlType": "OBJECT_BUILDER", @@ -4365,7 +5926,7 @@ "label": null, "metadata": { }, "multipleValues": null, - "name": "issuetype", + "name": null, "options": null, "optionsDataSource": null, "placeholder": null, @@ -4373,12 +5934,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "ID of the issue type.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": null, + "label": "Comment ID", "languageId": null, "maxLength": null, "metadata": { }, @@ -4395,59 +5956,17 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "Name of the issue type.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "name", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "project", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "ID of the project.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": null, + "label": "API URL for the comment", "languageId": null, "maxLength": null, "metadata": { }, "minLength": null, - "name": "id", + "name": "self", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -4456,116 +5975,135 @@ "required": null, "type": "STRING" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "Name of the project.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "name", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "priority", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { - "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, - "description": "ID of the priority.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "id", + "multipleValues": null, + "name": "body", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "ARRAY_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "items": [ { + "additionalProperties": null, + "advancedOption": null, + "controlType": "OBJECT_BUILDER", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "multipleValues": null, + "name": null, + "options": null, + "optionsDataSource": null, + "placeholder": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "text", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + } ], + "label": null, + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "content", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "ARRAY" + } ], "required": null, - "type": "STRING" + "type": "OBJECT" }, { + "additionalProperties": null, "advancedOption": null, - "controlType": "TEXT", + "controlType": "OBJECT_BUILDER", "defaultValue": null, - "description": "Name of the priority.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, "label": null, - "languageId": null, - "maxLength": null, "metadata": { }, - "minLength": null, - "name": "name", + "multipleValues": null, + "name": "author", "options": null, "optionsDataSource": null, - "optionsLoadedDynamically": null, "placeholder": null, - "regex": null, + "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": null, + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "additionalProperties": null, - "advancedOption": null, - "controlType": "OBJECT_BUILDER", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "metadata": { }, - "multipleValues": null, - "name": "assignee", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "properties": [ { + "type": "OBJECT" + }, { "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "Account ID of the assignee.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -4575,7 +6113,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "accountId", + "name": "created", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -4587,7 +6125,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": "Display name of the assignee.", + "description": null, "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -4597,7 +6135,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "displayName", + "name": "updated", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -4608,31 +6146,18 @@ } ], "required": null, "type": "OBJECT" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": "Summary of the issue.", - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "summary", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" } ], + "label": "Comments", + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "comments", + "options": null, + "optionsDataSource": null, + "placeholder": null, "required": null, - "type": "OBJECT" + "type": "ARRAY" } ], "required": null, "type": "OBJECT" @@ -4669,7 +6194,7 @@ "advancedOption": null, "controlType": "SELECT", "defaultValue": null, - "description": null, + "description": "ID of the issue.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -4690,8 +6215,61 @@ "regex": null, "required": true, "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "Order the results by a field.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Order By", + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "orderBy", + "options": [ { + "description": "Order by created date.", + "label": "Created", + "value": "created" + }, { + "description": "Order ascending by created date.", + "label": "+Created", + "value": "+created" + }, { + "description": "Order descending by created date.", + "label": "-Created", + "value": "-created" + } ], + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": false, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": "The maximum number of items to return per page.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": "Max Results", + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "maxResults", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": false, + "type": "INTEGER" } ], - "title": "Get Issue", + "title": "List Issue Comments", "type": { "key": "tools", "label": "Tools", From 62c655bfdf494c917ad5cb0821e4ba79b86c165b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Monika=20Ku=C5=A1ter?= Date: Mon, 22 Dec 2025 07:19:48 +0100 Subject: [PATCH 3/6] 3182 - refactor --- .../action/JiraListIssueCommentsAction.java | 53 ++++++++++--------- .../JiraListIssueCommentsActionTest.java | 7 +-- 2 files changed, 29 insertions(+), 31 deletions(-) diff --git a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java index 9579908dafd..8f4c390a55c 100644 --- a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java +++ b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java @@ -28,7 +28,7 @@ import static com.bytechef.component.jira.constant.JiraConstants.ORDER_BY; import static com.bytechef.component.jira.constant.JiraConstants.PROJECT; -import com.bytechef.component.definition.ActionDefinition; +import com.bytechef.component.definition.ActionDefinition.OptionsFunction; import com.bytechef.component.definition.ComponentDsl.ModifiableActionDefinition; import com.bytechef.component.definition.Context; import com.bytechef.component.definition.Context.Http; @@ -48,21 +48,20 @@ public class JiraListIssueCommentsAction { string(PROJECT) .label("Project ID") .description("ID of the project where the issue is located.") - .options((ActionDefinition.OptionsFunction) JiraOptionsUtils::getProjectIdOptions) + .options((OptionsFunction) JiraOptionsUtils::getProjectIdOptions) .required(false), string(ISSUE_ID) .label("Issue ID") .description("ID of the issue.") - .options((ActionDefinition.OptionsFunction) JiraOptionsUtils::getIssueIdOptions) + .options((OptionsFunction) JiraOptionsUtils::getIssueIdOptions) .optionsLookupDependsOn(PROJECT) .required(true), string(ORDER_BY) .label("Order By") .description("Order the results by a field.") .options( - option("Created", "created", "Order by created date."), - option("+Created", "+created", "Order ascending by created date."), - option("-Created", "-created", "Order descending by created date.")) + option("Created (Ascending)", "+created", "Order ascending by created date."), + option("Created (Descending)", "-created", "Order descending by created date.")) .required(false), integer(MAX_RESULTS) .label("Max Results") @@ -70,25 +69,29 @@ public class JiraListIssueCommentsAction { .required(false)) .output( outputSchema( - object().properties( - integer("maxResults"), - integer("startAt"), - integer("total"), - array("comments") - .label("Comments") - .description("List of comments on the issue") - .items( - object().properties( - string("id").label("Comment ID"), - string("self").label("API URL for the comment"), - object("body").properties( - array("content").items( - object().properties( - string("text")))), - object("author").properties( - string("displayName")), - string("created"), - string("updated")))))) + object() + .properties( + integer("maxResults"), + integer("startAt"), + integer("total"), + array("comments") + .description("List of comments on the issue") + .items( + object() + .properties( + string("id"), + string("self"), + object("body") + .properties( + array("content") + .items( + object() + .properties(string("text")))), + object("author") + .properties( + string("displayName")), + string("created"), + string("updated")))))) .perform(JiraListIssueCommentsAction::perform); public static Object perform(Parameters inputParameters, Parameters connectionParameters, Context context) { diff --git a/server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java b/server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java index b949b9479f4..0e2151cc8d4 100644 --- a/server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java +++ b/server/libs/modules/components/jira/src/test/java/com/bytechef/component/jira/action/JiraListIssueCommentsActionTest.java @@ -52,10 +52,7 @@ class JiraListIssueCommentsActionTest { private final Http.Executor mockedExecutor = mock(Http.Executor.class); private final Http mockedHttp = mock(Http.class); private final Parameters mockedParameters = MockParametersFactory.create( - Map.of( - ISSUE_ID, "xy", - ORDER_BY, "+created", - MAX_RESULTS, 50)); + Map.of(ISSUE_ID, "xy", ORDER_BY, "+created", MAX_RESULTS, 50)); private final Http.Response mockedResponse = mock(Http.Response.class); private final Map responseMap = Map.of("comments", "example"); private final ArgumentCaptor stringArgumentCaptor = forClass(String.class); @@ -92,7 +89,5 @@ void testPerform() { assertEquals(Http.ResponseType.Type.JSON, responseType.getType()); assertEquals("/issue/xy/comment", stringArgumentCaptor.getValue()); - } - } From f712031329650ea7a9b658c35e036ddae9ebcec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Monika=20Ku=C5=A1ter?= Date: Mon, 22 Dec 2025 07:32:05 +0100 Subject: [PATCH 4/6] 3182 - improve output schema for list issue comments action --- .../action/JiraListIssueCommentsAction.java | 51 ++++++++++++++++--- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java index 8f4c390a55c..f00c7cfa26f 100644 --- a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java +++ b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java @@ -18,6 +18,7 @@ import static com.bytechef.component.definition.ComponentDsl.action; import static com.bytechef.component.definition.ComponentDsl.array; +import static com.bytechef.component.definition.ComponentDsl.bool; import static com.bytechef.component.definition.ComponentDsl.integer; import static com.bytechef.component.definition.ComponentDsl.object; import static com.bytechef.component.definition.ComponentDsl.option; @@ -71,27 +72,61 @@ public class JiraListIssueCommentsAction { outputSchema( object() .properties( - integer("maxResults"), - integer("startAt"), - integer("total"), + integer("maxResults") + .description("The maximum number of items that could be returned."), + integer("startAt") + .description("The index of the first item returned."), + integer("total") + .description("The number of items returned."), array("comments") .description("List of comments on the issue") .items( object() .properties( - string("id"), - string("self"), + string("id") + .description("The ID of the comment."), + string("self") + .description("The URL of the comment."), object("body") .properties( + string("type") + .description( + "Defines the type of block node such as paragraph, table, and alike."), + integer("version") + .description( + "Defines the version of ADF used in this representation."), array("content") + .description( + "An array containing inline and block nodes that define the content of a section of the document.") .items( object() .properties(string("text")))), object("author") .properties( - string("displayName")), - string("created"), - string("updated")))))) + string("accountId") + .description( + "The account ID of the user, which uniquely identifies the user across all Atlassian products."), + string("accountType") + .description( + "The type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)"), + bool("active") + .description("Whether the user is active."), + string("emailAddress") + .description( + "The email address of the user. Depending on the user’s privacy settings, this may be returned as null."), + string("displayName") + .description( + "The display name of the user. Depending on the user’s privacy settings, this may return an alternative value."), + string("self") + .description("The URL of the user."), + string("timezone") + .description( + "The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.")), + string("created") + .description("The date and time at which the comment was created."), + string("updated") + .description( + "The date and time at which the comment was updated last.")))))) .perform(JiraListIssueCommentsAction::perform); public static Object perform(Parameters inputParameters, Parameters connectionParameters, Context context) { From d3a39c66896be3257b4312a5ec0cfca98ebf9054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Monika=20Ku=C5=A1ter?= Date: Mon, 22 Dec 2025 07:33:00 +0100 Subject: [PATCH 5/6] 3182 - generated --- .../docs/reference/components/jira_v1.mdx | 80 ++ .../test/resources/definition/jira_v1.json | 932 +++++++++++++++--- 2 files changed, 892 insertions(+), 120 deletions(-) diff --git a/docs/content/docs/reference/components/jira_v1.mdx b/docs/content/docs/reference/components/jira_v1.mdx index d55873e08b0..06071381172 100644 --- a/docs/content/docs/reference/components/jira_v1.mdx +++ b/docs/content/docs/reference/components/jira_v1.mdx @@ -287,6 +287,86 @@ Type: OBJECT ``` +### List Issue Comments +Name: listIssueComments + +`Return all comments for an issue.` + +#### Properties + +| Name | Label | Type | Description | Required | +|:---------------:|:--------------:|:------------:|:-------------------:|:--------:| +| project | Project ID | STRING | ID of the project where the issue is located. | false | +| issueId | Issue ID | STRING
Depends On project
| ID of the issue. | true | +| orderBy | Order By | STRING
Options +created, -created
| Order the results by a field. | false | +| maxResults | Max Results | INTEGER | The maximum number of items to return per page. | false | + +#### Example JSON Structure +```json +{ + "label" : "List Issue Comments", + "name" : "listIssueComments", + "parameters" : { + "project" : "", + "issueId" : "", + "orderBy" : "", + "maxResults" : 1 + }, + "type" : "jira/v1/listIssueComments" +} +``` + +#### Output + + + +Type: OBJECT + + +#### Properties + +| Name | Type | Description | +|:------------:|:------------:|:-------------------:| +| maxResults | INTEGER | The maximum number of items that could be returned. | +| startAt | INTEGER | The index of the first item returned. | +| total | INTEGER | The number of items returned. | +| comments | ARRAY
Items [{STRING\(id), STRING\(self), {STRING\(type), INTEGER\(version), [{STRING\(text)}]\(content)}\(body), {STRING\(accountId), STRING\(accountType), BOOLEAN\(active), STRING\(emailAddress), STRING\(displayName), STRING\(self), STRING\(timezone)}\(author), STRING\(created), STRING\(updated)}]
| List of comments on the issue | + + + + +#### Output Example +```json +{ + "maxResults" : 1, + "startAt" : 1, + "total" : 1, + "comments" : [ { + "id" : "", + "self" : "", + "body" : { + "type" : "", + "version" : 1, + "content" : [ { + "text" : "" + } ] + }, + "author" : { + "accountId" : "", + "accountType" : "", + "active" : false, + "emailAddress" : "", + "displayName" : "", + "self" : "", + "timezone" : "" + }, + "created" : "", + "updated" : "" + } ] +} +``` + + ### Search Issues Name: searchForIssuesUsingJql diff --git a/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json b/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json index 2d4ef7d3288..595eece69f4 100644 --- a/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json +++ b/server/libs/modules/components/jira/src/test/resources/definition/jira_v1.json @@ -2287,7 +2287,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The maximum number of items that could be returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2306,7 +2306,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The index of the first item returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2325,7 +2325,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The number of items returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2370,12 +2370,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The ID of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Comment ID", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -2392,12 +2392,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The URL of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "API URL for the comment", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -2428,10 +2428,51 @@ "optionsDataSource": null, "placeholder": null, "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Defines the type of block node such as paragraph, table, and alike.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "type", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": "Defines the version of ADF used in this representation.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "version", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { "advancedOption": null, "controlType": "ARRAY_BUILDER", "defaultValue": null, - "description": null, + "description": "An array containing inline and block nodes that define the content of a section of the document.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2514,7 +2555,97 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The account ID of the user, which uniquely identifies the user across all Atlassian products.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountType", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "Whether the user is active.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true + }, { + "description": null, + "label": "False", + "value": false + } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The email address of the user. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "emailAddress", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2532,6 +2663,50 @@ "regex": null, "required": null, "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The URL of the user.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "timezone", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" } ], "required": null, "type": "OBJECT" @@ -2539,7 +2714,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The date and time at which the comment was created.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2561,7 +2736,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The date and time at which the comment was updated last.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2583,7 +2758,7 @@ "required": null, "type": "OBJECT" } ], - "label": "Comments", + "label": null, "maxItems": null, "metadata": { }, "minItems": null, @@ -2622,7 +2797,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The maximum number of items that could be returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2641,7 +2816,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The index of the first item returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2660,7 +2835,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The number of items returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2705,12 +2880,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The ID of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Comment ID", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -2727,12 +2902,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The URL of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "API URL for the comment", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -2763,10 +2938,51 @@ "optionsDataSource": null, "placeholder": null, "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Defines the type of block node such as paragraph, table, and alike.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "type", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": "Defines the version of ADF used in this representation.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "version", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { "advancedOption": null, "controlType": "ARRAY_BUILDER", "defaultValue": null, - "description": null, + "description": "An array containing inline and block nodes that define the content of a section of the document.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2849,7 +3065,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The account ID of the user, which uniquely identifies the user across all Atlassian products.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -2859,7 +3075,7 @@ "maxLength": null, "metadata": { }, "minLength": null, - "name": "displayName", + "name": "accountId", "options": null, "optionsDataSource": null, "optionsLoadedDynamically": null, @@ -2867,68 +3083,202 @@ "regex": null, "required": null, "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "created", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - }, { - "advancedOption": null, - "controlType": "TEXT", - "defaultValue": null, - "description": null, - "displayCondition": null, - "exampleValue": null, - "expressionEnabled": null, - "hidden": null, - "label": null, - "languageId": null, - "maxLength": null, - "metadata": { }, - "minLength": null, - "name": "updated", - "options": null, - "optionsDataSource": null, - "optionsLoadedDynamically": null, - "placeholder": null, - "regex": null, - "required": null, - "type": "STRING" - } ], - "required": null, - "type": "OBJECT" - } ], - "label": "Comments", - "maxItems": null, - "metadata": { }, - "minItems": null, - "multipleValues": null, - "name": "comments", - "options": null, - "optionsDataSource": null, - "placeholder": null, - "required": null, - "type": "ARRAY" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountType", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "Whether the user is active.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true + }, { + "description": null, + "label": "False", + "value": false + } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The email address of the user. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "emailAddress", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "displayName", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The URL of the user.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "timezone", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The date and time at which the comment was created.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "created", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The date and time at which the comment was updated last.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "updated", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + } ], + "required": null, + "type": "OBJECT" + } ], + "label": null, + "maxItems": null, + "metadata": { }, + "minItems": null, + "multipleValues": null, + "name": "comments", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "ARRAY" } ], "required": null, "type": "OBJECT" @@ -3003,16 +3353,12 @@ "minLength": null, "name": "orderBy", "options": [ { - "description": "Order by created date.", - "label": "Created", - "value": "created" - }, { "description": "Order ascending by created date.", - "label": "+Created", + "label": "Created (Ascending)", "value": "+created" }, { "description": "Order descending by created date.", - "label": "-Created", + "label": "Created (Descending)", "value": "-created" } ], "optionsDataSource": null, @@ -5516,7 +5862,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The maximum number of items that could be returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5535,7 +5881,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The index of the first item returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5554,7 +5900,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The number of items returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5599,12 +5945,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The ID of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Comment ID", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -5621,12 +5967,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The URL of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "API URL for the comment", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -5657,10 +6003,51 @@ "optionsDataSource": null, "placeholder": null, "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Defines the type of block node such as paragraph, table, and alike.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "type", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": "Defines the version of ADF used in this representation.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "version", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { "advancedOption": null, "controlType": "ARRAY_BUILDER", "defaultValue": null, - "description": null, + "description": "An array containing inline and block nodes that define the content of a section of the document.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5743,7 +6130,97 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The account ID of the user, which uniquely identifies the user across all Atlassian products.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountType", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "Whether the user is active.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true + }, { + "description": null, + "label": "False", + "value": false + } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The email address of the user. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "emailAddress", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5761,6 +6238,50 @@ "regex": null, "required": null, "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The URL of the user.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "timezone", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" } ], "required": null, "type": "OBJECT" @@ -5768,7 +6289,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The date and time at which the comment was created.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5790,7 +6311,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The date and time at which the comment was updated last.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5812,7 +6333,7 @@ "required": null, "type": "OBJECT" } ], - "label": "Comments", + "label": null, "maxItems": null, "metadata": { }, "minItems": null, @@ -5851,7 +6372,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The maximum number of items that could be returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5870,7 +6391,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The index of the first item returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5889,7 +6410,7 @@ "advancedOption": null, "controlType": "INTEGER", "defaultValue": null, - "description": null, + "description": "The number of items returned.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -5934,12 +6455,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The ID of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "Comment ID", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -5956,12 +6477,12 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The URL of the comment.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, "hidden": null, - "label": "API URL for the comment", + "label": null, "languageId": null, "maxLength": null, "metadata": { }, @@ -5992,10 +6513,51 @@ "optionsDataSource": null, "placeholder": null, "properties": [ { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "Defines the type of block node such as paragraph, table, and alike.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "type", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "INTEGER", + "defaultValue": null, + "description": "Defines the version of ADF used in this representation.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "maxValue": null, + "metadata": { }, + "minValue": null, + "name": "version", + "options": null, + "optionsDataSource": null, + "placeholder": null, + "required": null, + "type": "INTEGER" + }, { "advancedOption": null, "controlType": "ARRAY_BUILDER", "defaultValue": null, - "description": null, + "description": "An array containing inline and block nodes that define the content of a section of the document.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -6078,7 +6640,97 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The account ID of the user, which uniquely identifies the user across all Atlassian products.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountId", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "accountType", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "SELECT", + "defaultValue": null, + "description": "Whether the user is active.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "metadata": { }, + "name": "active", + "options": [ { + "description": null, + "label": "True", + "value": true + }, { + "description": null, + "label": "False", + "value": false + } ], + "placeholder": null, + "required": null, + "type": "BOOLEAN" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The email address of the user. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "emailAddress", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -6096,6 +6748,50 @@ "regex": null, "required": null, "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The URL of the user.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "self", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" + }, { + "advancedOption": null, + "controlType": "TEXT", + "defaultValue": null, + "description": "The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.", + "displayCondition": null, + "exampleValue": null, + "expressionEnabled": null, + "hidden": null, + "label": null, + "languageId": null, + "maxLength": null, + "metadata": { }, + "minLength": null, + "name": "timezone", + "options": null, + "optionsDataSource": null, + "optionsLoadedDynamically": null, + "placeholder": null, + "regex": null, + "required": null, + "type": "STRING" } ], "required": null, "type": "OBJECT" @@ -6103,7 +6799,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The date and time at which the comment was created.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -6125,7 +6821,7 @@ "advancedOption": null, "controlType": "TEXT", "defaultValue": null, - "description": null, + "description": "The date and time at which the comment was updated last.", "displayCondition": null, "exampleValue": null, "expressionEnabled": null, @@ -6147,7 +6843,7 @@ "required": null, "type": "OBJECT" } ], - "label": "Comments", + "label": null, "maxItems": null, "metadata": { }, "minItems": null, @@ -6231,16 +6927,12 @@ "minLength": null, "name": "orderBy", "options": [ { - "description": "Order by created date.", - "label": "Created", - "value": "created" - }, { "description": "Order ascending by created date.", - "label": "+Created", + "label": "Created (Ascending)", "value": "+created" }, { "description": "Order descending by created date.", - "label": "-Created", + "label": "Created (Descending)", "value": "-created" } ], "optionsDataSource": null, From 1dc4c463b4a3ebcc1eab74f43b08576aa3e5423b Mon Sep 17 00:00:00 2001 From: Ivica Cardic Date: Tue, 23 Dec 2025 06:55:53 +0100 Subject: [PATCH 6/6] 3182 SF --- .../component/jira/action/JiraListIssueCommentsAction.java | 1 - 1 file changed, 1 deletion(-) diff --git a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java index f00c7cfa26f..3283a744092 100644 --- a/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java +++ b/server/libs/modules/components/jira/src/main/java/com/bytechef/component/jira/action/JiraListIssueCommentsAction.java @@ -130,7 +130,6 @@ public class JiraListIssueCommentsAction { .perform(JiraListIssueCommentsAction::perform); public static Object perform(Parameters inputParameters, Parameters connectionParameters, Context context) { - return context .http(http -> http.get("/issue/" + inputParameters.getRequiredString(ISSUE_ID) + "/comment")) .configuration(Http.responseType(Http.ResponseType.JSON))