Skip to content

Commit c0a7bb9

Browse files
Jira Create Issue — make summary prop required (#16303)
* remove optional for required dynamic fields * pnpm-lock.yaml --------- Co-authored-by: Danny Roosevelt <[email protected]>
1 parent e84d0d4 commit c0a7bb9

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

components/jira/actions/common/issue.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default {
129129
return Object.values(fields)
130130
.filter(predicate)
131131
.reduce(async (props, {
132-
schema, name: label, key, autoCompleteUrl,
132+
schema, name: label, key, autoCompleteUrl, required,
133133
}) => {
134134
const reduction = await props;
135135

@@ -147,7 +147,7 @@ export default {
147147
type: constants.TYPE[schemaType] || "object",
148148
label,
149149
description: "Set your field value",
150-
optional: true,
150+
optional: !required,
151151
};
152152

153153
// Requests by URL

components/jira/actions/create-issue/create-issue.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "jira-create-issue",
88
name: "Create Issue",
99
description: "Creates an issue or, where the option to create subtasks is enabled in Jira, a subtask, [See the docs](https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-post)",
10-
version: "0.1.19",
10+
version: "0.1.20",
1111
type: "action",
1212
props: {
1313
...common.props,

components/jira/actions/update-issue/update-issue.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "jira-update-issue",
99
name: "Update Issue",
1010
description: "Updates an issue. A transition may be applied and issue properties updated as part of the edit, [See the docs](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put)",
11-
version: "0.2.12",
11+
version: "0.2.13",
1212
type: "action",
1313
props: {
1414
...common.props,

components/jira/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/jira",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Pipedream Jira Components",
55
"main": "jira.app.mjs",
66
"keywords": [

pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)