bjira 0.0.18 → 0.0.19
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/LICENSE.md +1 -1
- package/README.md +5 -4
- package/package.json +1 -1
- package/src/ask.js +1 -1
- package/src/attachment.js +3 -3
- package/src/command.js +1 -1
- package/src/comment.js +1 -1
- package/src/create.js +1 -1
- package/src/errorhandler.js +1 -1
- package/src/field.js +1 -1
- package/src/index.js +1 -1
- package/src/init.js +1 -1
- package/src/issue.js +4 -1
- package/src/jira.js +1 -1
- package/src/preset.js +1 -1
- package/src/project.js +1 -1
- package/src/query.js +1 -1
- package/src/run.js +1 -1
- package/src/set.js +1 -1
- package/src/sprint.js +1 -1
- package/src/table.js +1 -1
- package/src/user.js +1 -1
- package/src/utils.js +1 -1
- package/aqtinstall.log +0 -0
- package/nohup.out +0 -0
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021 Andrea Marchesini <baku@bnode.dev>
|
|
3
|
+
Copyright (c) 2021-2022 Andrea Marchesini <baku@bnode.dev>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -15,11 +15,11 @@ jira settings.
|
|
|
15
15
|
|
|
16
16
|
```
|
|
17
17
|
$ bjira init
|
|
18
|
-
? Provide your jira host: your-
|
|
18
|
+
? Provide your jira host: your-domain.atlassian.net
|
|
19
19
|
? Please provide your jira username: username
|
|
20
20
|
? API token: [hidden]
|
|
21
21
|
? Enable HTTPS Protocol? Yes
|
|
22
|
-
Config file succesfully created in: /home
|
|
22
|
+
Config file succesfully created in: /home/<username>/.bjira.json
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## How to use it
|
|
@@ -63,10 +63,11 @@ Jira is strongly configurable via custom fields. You can retrieve the list of cu
|
|
|
63
63
|
bjira field listall
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
If you want to see some of them in the issue report, add them:
|
|
66
|
+
If you want to see some of them in the issue report, add them for the project (FOO) and the issue type (Story):
|
|
67
67
|
|
|
68
68
|
```
|
|
69
|
-
bjira field add "Story Points"
|
|
69
|
+
bjira field add FOO Story "Story Points"
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Any custom fields added to the list will be shown in the issue report (See `bjira show`).
|
|
73
|
+
You can also set custom fields using `bira set custom `Story Points' ISSUE-ID`.
|
package/package.json
CHANGED
package/src/ask.js
CHANGED
package/src/attachment.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// SPDX-FileCopyrightText: 2021 Andrea Marchesini <baku@bnode.dev>
|
|
1
|
+
// SPDX-FileCopyrightText: 2021-2022 Andrea Marchesini <baku@bnode.dev>
|
|
2
2
|
//
|
|
3
3
|
// SPDX-License-Identifier: MIT
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ class Attachment extends Command {
|
|
|
25
25
|
const issue = Issue.replaceFields(result, resultFields);
|
|
26
26
|
|
|
27
27
|
const attachment = issue.fields['Attachment'].find(attachment => attachment.id === attachmentId);
|
|
28
|
-
const attachmentData = await jira.api.downloadAttachment(attachment);
|
|
28
|
+
const attachmentData = await jira.spin('Retriving attachment...', jira.api.downloadAttachment(attachment));
|
|
29
29
|
process.stdout.write(attachmentData);
|
|
30
30
|
});
|
|
31
31
|
|
|
@@ -34,4 +34,4 @@ class Attachment extends Command {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
export default Attachment;
|
|
37
|
+
export default Attachment;
|
package/src/command.js
CHANGED
package/src/comment.js
CHANGED
package/src/create.js
CHANGED
package/src/errorhandler.js
CHANGED
package/src/field.js
CHANGED
package/src/index.js
CHANGED
package/src/init.js
CHANGED
package/src/issue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// SPDX-FileCopyrightText: 2021 Andrea Marchesini <baku@bnode.dev>
|
|
1
|
+
// SPDX-FileCopyrightText: 2021-2022 Andrea Marchesini <baku@bnode.dev>
|
|
2
2
|
//
|
|
3
3
|
// SPDX-License-Identifier: MIT
|
|
4
4
|
|
|
@@ -153,6 +153,9 @@ class Issue extends Command {
|
|
|
153
153
|
[
|
|
154
154
|
'Mime-type', attachment.mimeType
|
|
155
155
|
],
|
|
156
|
+
[
|
|
157
|
+
'Created on', attachment['Created']
|
|
158
|
+
],
|
|
156
159
|
]);
|
|
157
160
|
});
|
|
158
161
|
}
|
package/src/jira.js
CHANGED
package/src/preset.js
CHANGED
package/src/project.js
CHANGED
package/src/query.js
CHANGED
package/src/run.js
CHANGED
package/src/set.js
CHANGED
package/src/sprint.js
CHANGED
package/src/table.js
CHANGED
package/src/user.js
CHANGED
package/src/utils.js
CHANGED
package/aqtinstall.log
DELETED
|
File without changes
|
package/nohup.out
DELETED
|
File without changes
|