Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to create a blocking relationship between issues within a repository. Specifically, it allows you to mark one issue as blocking another issue by specifying the repository owner, repository name, and the index (number) of the issue that is being blocked.

Common scenarios where this node is useful include:

  • Managing dependencies between issues in software development projects.
  • Automatically linking related issues to reflect blocking relationships.
  • Streamlining project management workflows by programmatically updating issue statuses and relations.

For example, if Issue #10 cannot be resolved until Issue #5 is completed, this node can be used to set Issue #10 as blocked by Issue #5.

Properties

Name Meaning
Owner The username or organization name that owns the repository.
Repo The name of the repository where the issues exist.
Index The numeric identifier (index) of the issue that will be marked as blocking another issue.

Output

The node outputs JSON data representing the response from the Gitea API after creating the blocking relationship. This typically includes details about the updated issue or confirmation of the blocking link creation.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the Gitea instance.
  • Needs the base URL of the Gitea server configured in the credentials.
  • Depends on the Gitea REST API endpoint /api/v1 for issue management.

Troubleshooting

  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to modify issues.
  • Invalid repository or owner: Verify that the repository owner and name are correct and accessible.
  • Issue index not found: Confirm that the issue index provided exists in the specified repository.
  • API rate limits: If requests fail due to rate limiting, consider adjusting request frequency or API quota.

Links and References

Discussion