@pipedream/jira_service_desk 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ export default {
4
4
  key: "jira_service_desk-create-comment-on-request",
5
5
  name: "Create Comment on Request",
6
6
  description: "Create a comment on a customer request. [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-comment-post)",
7
- version: "0.1.0",
7
+ version: "0.1.1",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -15,7 +15,7 @@ export default {
15
15
  + " Worked example: on service desk `1`, request type `4` (\"Onboard new employees\") requires `summary` and also accepts a `duedate`, so call with Summary `Joseph Wilson starts on September 1`, Description `Needs a laptop and an email account`, and Additional Field Values `{ \"duedate\": \"2026-09-01\" }`."
16
16
  + " Returns the created request including its `issueKey` and `issueId`."
17
17
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post)",
18
- version: "1.0.0",
18
+ version: "1.0.1",
19
19
  annotations: {
20
20
  destructiveHint: false,
21
21
  openWorldHint: true,
@@ -8,7 +8,7 @@ export default {
8
8
  + " Use this to identify who is logged in, or to filter requests by the current user's `account_id`."
9
9
  + " No `cloudId` required — this uses the Atlassian Identity API directly."
10
10
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/)",
11
- version: "0.0.3",
11
+ version: "0.0.4",
12
12
  type: "action",
13
13
  annotations: {
14
14
  destructiveHint: false,
@@ -10,7 +10,7 @@ export default {
10
10
  + " Use **List Sites** first to obtain the required `cloudId`."
11
11
  + " Use **List My Requests** to find the `issueKey` of a request (e.g. `IT-42`)."
12
12
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-get)",
13
- version: "0.2.0",
13
+ version: "0.2.1",
14
14
  type: "action",
15
15
  annotations: {
16
16
  destructiveHint: false,
@@ -11,7 +11,7 @@ export default {
11
11
  + " Use **List Sites** first to obtain the required `cloudId`."
12
12
  + " Use **List My Requests** to find the `issueKey` (e.g. `IT-42`)."
13
13
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-status-get)",
14
- version: "1.1.0",
14
+ version: "1.1.1",
15
15
  type: "action",
16
16
  annotations: {
17
17
  destructiveHint: false,
@@ -38,7 +38,7 @@ export default {
38
38
  "maxResults",
39
39
  ],
40
40
  label: "Max Entries",
41
- description: "Maximum number of status history entries to return across all pages (1-1000).",
41
+ description: "Maximum number of status history entries to return.",
42
42
  },
43
43
  },
44
44
  async run({ $ }) {
@@ -4,7 +4,7 @@ export default {
4
4
  key: "jira_service_desk-list-cloud-id-options",
5
5
  name: "List Cloud ID Options",
6
6
  description: "Lists the Atlassian sites you can raise requests on, as `{label, value}` options, to discover the `cloudId` every other Jira Service Desk tool needs. Takes no input beyond the account. Example: returns `[{ \"label\": \"acme\", \"value\": \"822faf0d-5427-420e-9016-999d3dc76918\" }]`. Use **List Sites** instead if you want the full site records. [See the documentation](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#3-1-get-the-cloudid-for-your-site)",
7
- version: "0.1.0",
7
+ version: "0.1.1",
8
8
  type: "action",
9
9
  annotations: {
10
10
  destructiveHint: false,
@@ -13,7 +13,7 @@ export default {
13
13
  + " `requestStatus`: `OPEN_REQUESTS` (default), `CLOSED_REQUESTS`, or `ALL_REQUESTS`."
14
14
  + " `requestOwnership`: `OWNED_REQUESTS` (default) or `PARTICIPATED_REQUESTS`."
15
15
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-get)",
16
- version: "1.1.0",
16
+ version: "1.1.1",
17
17
  type: "action",
18
18
  annotations: {
19
19
  destructiveHint: false,
@@ -60,7 +60,7 @@ export default {
60
60
  app,
61
61
  "maxResults",
62
62
  ],
63
- description: "Maximum number of requests to return across all pages (1-1000).",
63
+ description: "Maximum number of requests to return across all pages (1.1.10).",
64
64
  },
65
65
  },
66
66
  async run({ $ }) {
@@ -11,7 +11,7 @@ export default {
11
11
  + " Use **List Sites** first to obtain the required `cloudId`."
12
12
  + " Use **List My Requests** or **Get Request** to find the `issueKey` (e.g. `IT-42`)."
13
13
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-transition-get)",
14
- version: "1.1.0",
14
+ version: "1.1.1",
15
15
  type: "action",
16
16
  annotations: {
17
17
  destructiveHint: false,
@@ -38,7 +38,7 @@ export default {
38
38
  "maxResults",
39
39
  ],
40
40
  label: "Max Transitions",
41
- description: "Maximum number of transitions to return across all pages (1-1000).",
41
+ description: "Maximum number of transitions to return across all pages (1.1.10).",
42
42
  },
43
43
  },
44
44
  async run({ $ }) {
@@ -12,7 +12,7 @@ export default {
12
12
  + " Also returns `canRaiseOnBehalfOf` and `canAddRequestParticipants`, which tell you whether the `raiseOnBehalfOf` and `requestParticipants` arguments of **Create Request** are usable with this account."
13
13
  + " Hidden fields are only visible to service desk administrators."
14
14
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-requesttype-requesttypeid-field-get)",
15
- version: "0.0.1",
15
+ version: "0.0.2",
16
16
  type: "action",
17
17
  annotations: {
18
18
  destructiveHint: false,
@@ -15,7 +15,7 @@ export default {
15
15
  + " Types with `canCreateRequest: false` cannot be used to raise a request."
16
16
  + " Then call **List Request Type Fields** to see what the chosen type requires."
17
17
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-requesttype-get)",
18
- version: "0.0.1",
18
+ version: "0.0.2",
19
19
  type: "action",
20
20
  annotations: {
21
21
  destructiveHint: false,
@@ -12,7 +12,7 @@ export default {
12
12
  + " Returns `{ serviceDesks, truncated }`, where `truncated` is `true` when more desks remained unfetched."
13
13
  + " Example: a site with one desk returns `{ \"serviceDesks\": [{ \"id\": \"1\", \"projectName\": \"Support\", \"projectKey\": \"SUP\" }], \"truncated\": false }`."
14
14
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-get)",
15
- version: "0.0.1",
15
+ version: "0.0.2",
16
16
  type: "action",
17
17
  annotations: {
18
18
  destructiveHint: false,
@@ -8,7 +8,7 @@ export default {
8
8
  + " **Call this tool first** to obtain the `cloudId` (returned as `id`) required by every other Jira Service Desk tool."
9
9
  + " Each site includes its `id` (cloudId), `name`, and `url`."
10
10
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#3-1-get-the-cloudid-for-your-site)",
11
- version: "0.0.3",
11
+ version: "0.0.4",
12
12
  type: "action",
13
13
  annotations: {
14
14
  destructiveHint: false,
@@ -10,7 +10,7 @@ export default {
10
10
  + " Use **List My Requests** or **Get Request** to find the `issueKey` (e.g. `IT-42`)."
11
11
  + " Optionally include a comment to explain the transition."
12
12
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-transition-post)",
13
- version: "0.1.0",
13
+ version: "0.1.1",
14
14
  type: "action",
15
15
  annotations: {
16
16
  destructiveHint: false,
@@ -11,7 +11,7 @@ export default {
11
11
  + " `fields` is a JSON object of field name-value pairs."
12
12
  + " Example: `{\"summary\": \"Updated title\", \"priority\": {\"name\": \"High\"}}`."
13
13
  + " [See the documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put)",
14
- version: "0.1.0",
14
+ version: "0.1.1",
15
15
  type: "action",
16
16
  annotations: {
17
17
  destructiveHint: false,
@@ -119,23 +119,21 @@ export default {
119
119
  async getServiceDesks({
120
120
  $, cloudId, maxResults,
121
121
  }) {
122
- const { results } = await this._paginate({
122
+ return this._paginate({
123
123
  $,
124
124
  path: `/ex/jira/${cloudId}/rest/servicedeskapi/servicedesk`,
125
125
  maxResults,
126
126
  });
127
- return results;
128
127
  },
129
128
  async getRequestTypes({
130
129
  $, cloudId, serviceDeskId, params, maxResults,
131
130
  }) {
132
- const { results } = await this._paginate({
131
+ return this._paginate({
133
132
  $,
134
133
  path: `/ex/jira/${cloudId}/rest/servicedeskapi/servicedesk/${serviceDeskId}/requesttype`,
135
134
  params,
136
135
  maxResults,
137
136
  });
138
- return results;
139
137
  },
140
138
  async getRequestTypeCreateMeta({
141
139
  $, cloudId, serviceDeskId, requestTypeId, params,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/jira_service_desk",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Pipedream Jira Service Desk Components",
5
5
  "main": "jira_service_desk.app.mjs",
6
6
  "keywords": [
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Request Created",
7
7
  description:
8
8
  "Emit new event when a customer request is created. [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-get)",
9
- version: "0.1.0",
9
+ version: "0.1.1",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  methods: {
@@ -6,7 +6,7 @@ export default {
6
6
  name: "Request Status Updated",
7
7
  description:
8
8
  "Emit new event when a customer request is updated. [See the documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-get)",
9
- version: "0.1.0",
9
+ version: "0.1.1",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  methods: {