List view
- Fixed url for `version2.issues.bulkFetchIssues`. Thanks @genio, for reporting.
No due date•2/2 issues closed### Bug Fixes - **Removed `~` alias** due to compatibility issues with some build systems. Thanks @ThomasTrepanier, for reporting.
No due date•2/2 issues closed- Fixing CommonJS requiring. Thanks to solshark ([solshark](https://github.com/solshark)) for reporting this issue ([#381](https://github.com/MrRefactoring/jira.js/issues/381)) - Fixing ESM imports in TypeScript declarations. Thanks to Alex Grand ([Arilas](https://github.com/Arilas)) for reporting this issue ([#383](https://github.com/MrRefactoring/jira.js/issues/383)) --- - **Special thanks to [GervinFung](https://github.com/GervinFung) for the npm package [`ts-add-js-extension`](https://github.com/GervinFung/ts-add-js-extension), which helps resolve TypeScript ESM import paths.**
No due date•5/5 issues closed- Version 2 Client - Add `UserNavProperties` API group - Add `ProjectTemplates` API group - Add `IssueCustomFieldAssociations` API group - `IssueSearch.searchForIssuesUsingJql` deprecated. Use `IssueSearch.searchForIssuesUsingJqlEnhancedSearch` instead - `IssueSearch.searchForIssuesUsingJqlPost` deprecated. Use `IssueSearch.searchForIssuesUsingJqlEnhancedSearchPost` instead - `IssueSearch.searchForIssuesIds` deprecated - Add `projectIds` property to `IssueFields.getFieldsPaginated` method - Version 3 Client - Add `UserNavProperties` API group - Add `ProjectTemplates` API group - Add `IssueCustomFieldAssociations` API group - `IssueSearch.searchForIssuesUsingJql` deprecated. Use `IssueSearch.searchForIssuesUsingJqlEnhancedSearch` instead - `IssueSearch.searchForIssuesUsingJqlPost` deprecated. Use `IssueSearch.searchForIssuesUsingJqlEnhancedSearchPost` instead - `IssueSearch.searchForIssuesIds` deprecated - Add `projectIds` property to `IssueFields.getFieldsPaginated` method - Add `submitBulkUnwatch`, `submitBulkWatch` methods to `IssueBulkOperations` API group
No due date•2/2 issues closed- Added ESM (ECMAScript Modules) support - Fixed comment generation logic in `IssueWorklogs.addWorklog` method - Removed all telemetry-related code and references
No due date•3/3 issues closed- **Fix:** Fixed failed `issueBulkOperations.getAvailableTransitions` method call (problem from jira side with headers). Thanks to Michael "Mike" Ferris ([Cellule](https://github.com/Cellule)) for reporting this issue ([#374](https://github.com/MrRefactoring/jira.js/issues/374)) and fix ([#375](https://github.com/MrRefactoring/jira.js/pull/375))
No due date•3/3 issues closed- **Fix:** Fixed compilation issues for projects using the `Plans.updatePlan` method in `Version3Client`. Thanks to Jakub Gladykowski ([gladykov](https://github.com/gladykov)) for reporting this issue ([#370](https://github.com/MrRefactoring/jira.js/issues/370)). - **Improvement:** Added `string` type support for the `projectId` property in the `Version` model for `Version3Client`. Thanks to Carl Fürstenberg ([azatoth](https://github.com/azatoth)) for suggesting this improvement ([#371](https://github.com/MrRefactoring/jira.js/issues/371)).
Due by April 5, 2025•4/4 issues closed- **#347:** Fixed an issue with adding attachments of type `Readable` or `ReadableStream` (e.g., `fs.createReadStream`). Thanks to [Lunatic174](https://github.com/Lunatic174) for [reporting the issue](https://github.com/MrRefactoring/jira.js/issues/347).
No due date•3/3 issues closed- Due by February 24, 2025•8/8 issues closed
- **#344:** Replaced the `mime-types` library with `mime` to ensure browser compatibility, as `mime-types` relies on the `path` module from Node.js. Thanks to [kang](https://github.com/kang8) for [reporting the issue](https://github.com/MrRefactoring/jira.js/issues/344) and proposing the fix.
No due date•2/2 issues closed- **#320:** Resolved a tree-shaking issue where importing a single client would still include all clients in the output bundle when using bundlers. Now, only the required client code is included. Thanks to [Nao Yonashiro](https://github.com/orisano) for [reporting the issue](https://github.com/MrRefactoring/jira.js/issues/320) and proposing a fix. - **#327:** Replaced the `form-data` library with `formdata-node` to enable compatibility with `ESM` projects when adding attachments via the `issueAttachment.addAttachment` method. Thanks to [Paweł Król](https://github.com/xpawk) for [reporting the issue](https://github.com/MrRefactoring/jira.js/issues/327) and [Matyáš Kroupa](https://github.com/krouma) for implementing the fix. - **Improvement:** The type of the `projectIdOrKey` property was updated from `string` to `number | string` for project update operations. This enhancement improves type safety and flexibility when handling project identifiers. - **Enhancement:** Added a `mimeType` property to the `version2.issueAttachments.addAttachment`, `version3.issueAttachments.addAttachment`, and `serviceDesk.serviceDesk.attachTemporaryFile` methods. This allows specifying the file type. If `mimeType` is not provided, a default type is inferred from the filename. #### Examples: **👎 Before:** ```typescript const client = new Version2Client() || new Version3Client() || new ServiceDeskClient(); const attachment = await client.issueAttachments.addAttachment({ issueIdOrKey: issue.key, attachment: { filename: 'issueAttachments.test.ts', file: fs.readFileSync('./tests/integration/version2/issueAttachments.test.ts'), }, }); console.log(attachment[0].mimeType); // Will be 'video/mp2t' ``` **👍 Now:** ```typescript const client = new Version2Client() || new Version3Client() || new ServiceDeskClient(); const attachment = await client.issueAttachments.addAttachment({ issueIdOrKey: issue.key, attachment: { filename: 'issueAttachments.test.ts', file: fs.readFileSync('./tests/integration/version2/issueAttachments.test.ts'), mimeType: 'application/typescript', }, }); console.log(attachment[0].mimeType); // Will be 'application/typescript' ```
No due date•5/5 issues closed- Return type fixed for `issue remote links` endpoint. Thanks to [Fernando Maia](https://github.com/fsmaia) for reporting and [fixing](https://github.com/MrRefactoring/jira.js/pull/296) [the issue](https://github.com/MrRefactoring/jira.js/issues/295). - Dependencies upgraded - CI/CD improvements
Due by January 3, 2024•3/3 issues closed- No due date•1/1 issues closed
## **Breaking Changes:** - **Avatar Endpoints Updates:** - Methods `avatar.getAvatarImageByID`, `getAvatarImageByType`, and `getAvatarImageByOwner` have an updated return type. Avatars will now be returned as binary data. - `storeAvatar` endpoint has been fixed. It now both accepts and sends the `avatar` property. - **Authentication Changes:** - Removed OAuth and JWT authentication. This might be reintroduced with proper testing support in the future. - **API Clean-Up:** - Deprecated and unused components from Agile, ServiceDesk, Version2, and Version3 APIs have been removed. ## **Enhancements:** - Improved browser capability. - Enhanced parameter typings.
Due by October 16, 2023•10/10 issues closed