Redmine icon

Redmine

Consume Redmine API

Project → Update

AI-generated

Overview

This node updates an existing project in Redmine using the Redmine API. It is useful for modifying project details such as description, enabled modules, homepage, membership inheritance, visibility, and parent project association. For example, it can be used to update the description of a project, enable or disable specific modules like Issue Tracking or Wiki, or change the project's parent project.

Use Case Examples

  1. Updating the description and enabled modules of a project to reflect new project requirements.
  2. Changing the visibility of a project to make it public or private.
  3. Setting a parent project to organize projects hierarchically.

Properties

Name Meaning
Project ID The ID of the project to update.
Additional Fields Optional fields to update in the project, including custom fields, description, enabled modules, homepage, inherit members flag, public visibility flag, and parent project ID.
Options Additional options such as impersonating a user by login, requiring an admin API key.

Output

JSON

  • id - The ID of the updated project.
  • name - The name of the updated project.
  • description - The description of the updated project.
  • enabled_modules - List of enabled modules in the updated project.
  • homepage - The homepage URL of the updated project.
  • inherit_members - Flag indicating if the project inherits members from its parent.
  • is_public - Flag indicating if the project is public.
  • parent_id - The ID of the parent project, if any.

Dependencies

  • Redmine API key credential

Troubleshooting

  • Common issues include invalid or missing Project ID, which results in errors from the Redmine API indicating the project was not found.
  • Incorrect API key or insufficient permissions can cause authentication errors.
  • Invalid values for fields such as enabled modules or parent project ID may cause the update to fail.
  • If impersonation is used, the API key must belong to an admin user; otherwise, the request will be denied.

Links

Discussion