Jira Data Center icon

Jira Data Center

Interact with Jira Data Center API

Actions16

Project → Get

AI-generated

Overview

This node integrates with the Jira Data Center API to perform various operations on Jira resources. Specifically, for the Project - Get operation, it retrieves detailed information about a single Jira project identified by its project key. This is useful when you want to fetch metadata or configuration details of a specific project within your Jira instance.

Common scenarios include:

  • Automating project reporting workflows by fetching project details.
  • Integrating Jira project data into other systems or dashboards.
  • Validating project existence or retrieving project attributes before creating issues or performing other actions.

Example: You can use this node to get the name, description, lead, and other settings of a Jira project by specifying its project key.

Properties

Name Meaning
Authentication Method used to authenticate with Jira Data Center API. Options: Personal Access Token, Basic Auth
Project The key of the Jira project to retrieve information for. This is a required field and loaded dynamically from available projects in Jira

Output

The output is a JSON object representing the full details of the requested Jira project as returned by the Jira Data Center REST API endpoint /rest/api/2/project/{projectKey}.

Typical fields in the output JSON include (but are not limited to):

  • id: The unique identifier of the project.
  • key: The project key.
  • name: The project name.
  • description: Description of the project.
  • lead: Information about the project lead user.
  • url, avatarUrls, projectTypeKey, and other metadata related to the project configuration.

The node does not output binary data for this operation.

Dependencies

  • Requires access to a Jira Data Center instance with the REST API enabled.
  • Requires credentials for authentication, either via a personal access token or basic authentication.
  • The node expects the Jira server URL to be configured in the credentials.
  • No additional external dependencies beyond the Jira API and n8n's HTTP request helpers.

Troubleshooting

  • Common Issues:

    • Invalid or missing project key: Ensure the project key exists in Jira and is correctly specified.
    • Authentication failures: Verify that the provided API token or basic auth credentials are valid and have sufficient permissions.
    • Network connectivity: Confirm that the n8n instance can reach the Jira Data Center server URL.
  • Error Messages:

    • "Jira Data Center API request failed: ..." indicates an issue with the API call, such as invalid credentials, incorrect URL, or insufficient permissions.
    • "The operation "get" is not supported for resource "project" would indicate a misconfiguration but should not occur if using the node as intended.
  • Resolutions:

    • Double-check the project key and ensure it is selected from the dropdown or entered correctly.
    • Re-authenticate or update credentials if authentication errors occur.
    • Check Jira server availability and network settings.

Links and References

Discussion