@theholocron/jira-client 1.6.0 → 1.6.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.
- package/README.md +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -14,8 +14,8 @@ pnpm add @theholocron/jira-client
|
|
|
14
14
|
import { createJiraClient } from "@theholocron/jira-client";
|
|
15
15
|
|
|
16
16
|
const jira = createJiraClient({
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
host: "https://your-org.atlassian.net/rest/api/2",
|
|
18
|
+
token: Buffer.from(`${email}:${apiToken}`).toString("base64"),
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Create a ticket
|
|
@@ -26,7 +26,7 @@ const issues = await jira.issues.getMany(["PROJ-1", "PROJ-2"]);
|
|
|
26
26
|
|
|
27
27
|
// Search with JQL
|
|
28
28
|
const results = await jira.issues.search({
|
|
29
|
-
|
|
29
|
+
jql: "project = PROJ AND status = Open",
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
// Manage versions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/jira-client",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "A TypeScript client for the Jira REST API",
|
|
5
5
|
"homepage": "https://github.com/theholocron/clients/tree/main/packages/jira-client#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/clients/issues",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^26.1.2",
|
|
37
|
-
"@theholocron/eslint-config": "^7.
|
|
38
|
-
"@theholocron/tsconfig": "^7.
|
|
39
|
-
"@theholocron/tsdown-config": "^7.
|
|
40
|
-
"@theholocron/vitest-config": "^7.
|
|
37
|
+
"@theholocron/eslint-config": "^7.7.0",
|
|
38
|
+
"@theholocron/tsconfig": "^7.7.0",
|
|
39
|
+
"@theholocron/tsdown-config": "^7.7.0",
|
|
40
|
+
"@theholocron/vitest-config": "^7.7.0",
|
|
41
41
|
"@vitest/coverage-v8": "^4.1.10",
|
|
42
42
|
"@vitest/eslint-plugin": "^1.6.24",
|
|
43
43
|
"eslint": "^10.8.0",
|