Skip to content

Jira Software 节点#

¥Jira Software node

使用 Jira Software 节点可自动化 Jira 中的工作,并将 Jira 与其他应用集成。n8n 内置支持 Jira 的多种功能,包括创建、更新、删除和获取问题和用户。

¥Use the Jira Software node to automate work in Jira, and integrate Jira with other applications. n8n has built-in support for a wide range of Jira features, including creating, updating, deleting, and getting issues, and users.

本页列出了 Jira Software 节点支持的操作列表以及更多资源的链接。

¥On this page, you'll find a list of operations the Jira Software node supports and links to more resources.

Credentials

请参阅 Jira 凭证 以了解有关设置身份验证的指导。

¥Refer to Jira credentials for guidance on setting up authentication.

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

操作#

¥Operations

  • 问题

¥Issue

  • 获取问题变更日志

    ¥Get issue changelog

  • 创建新问题

    ¥Create a new issue

  • 删除问题。

    ¥Delete an issue

  • 获取问题

    ¥Get an issue

  • 获取所有问题

    ¥Get all issues

  • 为问题创建电子邮件通知并将其添加到邮件队列。

    ¥Create an email notification for an issue and add it to the mail queue

  • 根据问题的状态,返回用户可对该问题执行的所有状态转换或其中一种状态转换。

    ¥Return either all transitions or a transition that can be performed by the user on an issue, based on the issue's status

  • 更新问题

    ¥Update an issue

  • 问题附件

¥Issue Attachment

  • 添加问题附件

    ¥Add attachment to issue

  • 获取附件

    ¥Get an attachment

  • 获取所有附件

    ¥Get all attachments

  • 移除评论

    ¥Remove an attachment

  • 问题评论

¥Issue Comment

  • 添加问题评论

    ¥Add comment to issue

  • 获取评论

    ¥Get a comment

  • 获取所有评论

    ¥Get all comments

  • 移除键盘:

    ¥Remove a comment

  • 更新评论

    ¥Update a comment

  • 用户

¥User

  • 创建新用户。

    ¥Create a new user.

  • 删除用户

    ¥Delete a user.

  • 检索用户。

    ¥Retrieve a user.

模板和示例#

¥Templates and examples

Template widget placeholder.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.

相关资源#

¥Related resources

请参阅 JQL 官方文档 文档,了解有关 Jira 查询语言 (JQL) 的更多信息。

¥Refer to the official JQL documentation about Jira Query Language (JQL) to learn more about it.

获取特定项目的问题#

¥Fetch issues for a specific project

“获取全部”操作返回 Jira 中的所有问题。要获取特定项目的问题,你需要使用 Jira 查询语言 (JQL)。

¥The Get All operation returns all the issues from Jira. To fetch issues for a particular project, you need to use Jira Query Language (JQL).

例如,如果你希望获取名为 n8n 的项目的所有问题,可以这样做:

¥For example, if you want to receive all the issues of a project named n8n, you'd do something like this:

  • 从“操作”下拉列表中选择“获取全部”。

¥Select Get All from the Operation dropdown list.

  • 将“全部返回”切换为“真”。

¥Toggle Return All to true.

  • 选择“添加选项”,然后选择“JQL”。

¥Select Add Option and select JQL.

  • 在 JQL 字段中输入 project=n8n

¥Enter project=n8n in the JQL field.

此查询将获取名为 n8n 的项目中的所有问题。输入你的项目名称(而非 n8n),以获取你项目的所有问题。

¥This query will fetch all the issues in the project named n8n. Enter the name of your project instead of n8n to fetch all the issues for your project.