Skip to content

Commit 17e1f44

Browse files
API Updates (MrRefactoring#239)
* dependencies updated * axios version downgraded * - `accessType` and `applicationKey` properties added to `bulkGetGroups` method `Groups` API. - `movePriorities` and `deletePriority` methods added to `IssuePriorities` API. * Version 2 models updated * Version 3 api updated * Version 3 models updated
1 parent 44fa24b commit 17e1f44

File tree

74 files changed

+1130
-747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1130
-747
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Jira.js changelog
22

3+
### 2.15.12
4+
5+
- Version 2, 3:
6+
- `accessType` and `applicationKey` properties added to `bulkGetGroups` method `Groups` API.
7+
- `movePriorities` and `deletePriority` methods added to `IssuePriorities` API.
8+
- Models updated
9+
310
### 2.15.11
411

512
- All properties in `PageOfWorklogs` marked as required.

examples/package-lock.json

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

examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"license": "MIT",
1313
"devDependencies": {
14-
"@types/node": "^18.7.22",
14+
"@types/node": "^18.7.23",
1515
"ts-node": "^10.9.1",
1616
"typescript": "^4.8.3"
1717
},

examples/src/getAllWorklogs.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ async function getAllWorklogs() {
2828
do {
2929
const worklogsPaginated = await client.issueWorklogs.getIssueWorklog({ issueIdOrKey: issue.key, startAt: offset });
3030

31-
offset += worklogsPaginated.worklogs!.length;
32-
total = worklogsPaginated.total!;
33-
worklogs.push(...worklogsPaginated.worklogs!);
31+
offset += worklogsPaginated.worklogs.length;
32+
total = worklogsPaginated.total;
33+
worklogs.push(...worklogsPaginated.worklogs);
3434
} while (offset < total);
3535

3636
console.log(`Received ${worklogs.length} worklogs.`);

0 commit comments

Comments
 (0)