@pipedream/redmine 0.1.0 → 0.2.0
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 +11 -0
- package/actions/create-issue/create-issue.mjs +6 -1
- package/actions/delete-user/delete-user.mjs +6 -1
- package/actions/list-priority-id-options/list-priority-id-options.mjs +24 -0
- package/actions/list-status-id-options/list-status-id-options.mjs +24 -0
- package/actions/list-tracker-id-options/list-tracker-id-options.mjs +24 -0
- package/actions/update-project/update-project.mjs +6 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
The Redmine API allows for integration with the Redmine project management tool, enabling the automation of tasks like issue tracking, project management, and time tracking. Using Pipedream, you can create workflows that trigger on specific Redmine events or perform actions in Redmine based on triggers from other apps. By harnessing the Redmine API on Pipedream, you can connect Redmine with a multitude of other apps and services to streamline your project management processes.
|
|
4
|
+
|
|
5
|
+
# Example Workflows
|
|
6
|
+
|
|
7
|
+
- **Sync Redmine Issues to Google Sheets**: Automatically export newly created or updated Redmine issues to a Google Sheets spreadsheet for advanced reporting or data analysis. This workflow can be set up to run periodically, ensuring your Sheets are always up-to-date with the latest issue data.
|
|
8
|
+
|
|
9
|
+
- **Slack Notifications for Redmine Updates**: Set up a workflow where updates to issues or projects in Redmine trigger notifications in a designated Slack channel. This keeps your team informed in real-time about important changes, like status updates or newly assigned tasks.
|
|
10
|
+
|
|
11
|
+
- **GitHub Commit Linked to Redmine Issues**: Whenever a new commit is pushed to a GitHub repository, search for Redmine issue IDs in the commit message and update the corresponding issue with the commit details. This helps maintain a clear link between code changes and project tasks.
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "redmine-create-issue",
|
|
6
6
|
name: "Create Issue",
|
|
7
7
|
description: "Creates a new issue in Redmine. [See the documentation](https://www.redmine.org/projects/redmine/wiki/rest_issues#creating-an-issue)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.2",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
app,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "redmine-delete-user",
|
|
5
5
|
name: "Delete User",
|
|
6
6
|
description: "Deletes a user from the Redmine platform. [See the documentation](https://www.redmine.org/projects/redmine/wiki/rest_users#delete)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
app,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import redmine from "../../redmine.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "redmine-list-priority-id-options",
|
|
5
|
+
name: "List Priority ID Options",
|
|
6
|
+
description: "Retrieves available options for the Priority ID field.",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
redmine,
|
|
16
|
+
},
|
|
17
|
+
async run({ $ }) {
|
|
18
|
+
const options = await redmine.propDefinitions.priorityId.options.call(this.redmine);
|
|
19
|
+
$.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
|
|
20
|
+
? ""
|
|
21
|
+
: "s"}`);
|
|
22
|
+
return options;
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import redmine from "../../redmine.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "redmine-list-status-id-options",
|
|
5
|
+
name: "List Status ID Options",
|
|
6
|
+
description: "Retrieves available options for the Status ID field.",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
redmine,
|
|
16
|
+
},
|
|
17
|
+
async run({ $ }) {
|
|
18
|
+
const options = await redmine.propDefinitions.statusId.options.call(this.redmine);
|
|
19
|
+
$.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
|
|
20
|
+
? ""
|
|
21
|
+
: "s"}`);
|
|
22
|
+
return options;
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import redmine from "../../redmine.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "redmine-list-tracker-id-options",
|
|
5
|
+
name: "List Tracker ID Options",
|
|
6
|
+
description: "Retrieves available options for the Tracker ID field.",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
redmine,
|
|
16
|
+
},
|
|
17
|
+
async run({ $ }) {
|
|
18
|
+
const options = await redmine.propDefinitions.trackerId.options.call(this.redmine);
|
|
19
|
+
$.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
|
|
20
|
+
? ""
|
|
21
|
+
: "s"}`);
|
|
22
|
+
return options;
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "redmine-update-project",
|
|
6
6
|
name: "Update Project",
|
|
7
7
|
description: "Updates an existing project in Redmine. [See the documentation](https://www.redmine.org/projects/redmine/wiki/rest_projects#updating-a-project)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.2",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: true,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
app,
|