Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node allows you to edit the deadline of an existing issue in a repository hosted on a Gitea instance. It is useful for project management workflows where you need to update or set due dates on issues to track deadlines and progress. For example, you might use this node to extend the deadline of a bug fix issue or set a new due date when reprioritizing tasks.

Properties

Name Meaning
Owner The owner (user or organization) of the repository containing the issue.
Repo The name of the repository where the issue exists.
Index The index (number) identifying the specific issue to update the deadline on.
Due Date The new due date to assign as the deadline for the issue, formatted as a string (e.g., ISO 8601 date).

Output

The node outputs JSON data representing the updated issue after the deadline has been edited. This typically includes all standard issue fields such as title, body, state, labels, and importantly, the updated deadline field reflecting the new due date.

No binary data output is produced by this node.

Dependencies

  • Requires access to a Gitea instance with API enabled.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL of the Gitea server must be provided in the credentials configuration.

Troubleshooting

  • Common Issues:

    • Incorrect repository owner or repo name will cause the API call to fail with a "not found" error.
    • Providing an invalid issue index (non-existent issue number) will result in an error.
    • Invalid date format for the due date may cause the API to reject the request.
    • Missing or invalid API credentials will lead to authentication errors.
  • Error Messages:

    • 404 Not Found: Check that the owner, repo, and issue index are correct.
    • 401 Unauthorized: Verify that the API key credential is valid and has sufficient permissions.
    • 400 Bad Request: Ensure the due date is in the correct format and all required parameters are provided.

Links and References

Discussion