Unity Integrations 允许在开发工作流程中将以下 Unity 服务连接到非 Unity 工具:
Impurtant: To add an integration, you must be an Owner or Manager on the Project. For information on assigning roles, see the Members & Groups section of Managing your Organization.
Unity Integrations 支持以下非 Unity 工具:
To add an integration to your workflow:
1.登录 Unity Services Dashboard。 2. Select the Project that you want to add an integration to. 3. In the left navigation column, click Settings, then click Integrations (Beta). 4. Click the NEW INTEGRATION button. 5. In the New Integration dialog box:
1. Select the Unity Service to add an integration for, then click the __NEXT__ button.
2. Select the event that triggers the action the integration takes, then click the __NEXT__ button.
3. Select the program to integrate with, then click the __NEXT__ button to configure the integration.
If you select a webhook or JIRA integration, the Configure options step opens. Otherwise, the configurations screen for the selected tool opens.
To configure a webhook integration, you must supply the following information:
Parameter | 描述 |
---|---|
Display Name | A name to identify the integration in the integrations list. |
Webhook URL | 从 Unity 服务接收 Webhook POST 请求的服务器端点的 URL。 |
Authentication Secret | 接收端应用程序的客户端密钥。 |
Content Type | 内容的 MIME 类型。从下拉菜单中选择数据的内容类型。 |
Disable SSL/TLS Verification | Set this option only when necessary. |
Verifying SSL/TLS certificates helps ensure that your data is sent securely. |
The Unity JIRA integration allows you to interact with JIRA as follows:
To configure a JIRA integration for Collaborate or Bug Reporting, you must supply the following information:
Parameter | 描述 |
---|---|
Display Name | A name to identify the integration in the integrations list. |
JIRA Site URL | The URL of you JIRA instance. |
JIRA Username | 有权将更新发布到 JIRA 实例的帐户的用户 ID。 |
JIRA REST API Token | The API token to authenticate Integration requests to your JIRA server. For instructions on how to create a token, see Atlassian’s documentation. |
After you have entered the information for your JIRA instance, you must supply the following additional information for Bug Reports and Performance Reporting:
Parameter | 描述 |
---|---|
Create Issues In This Project | Select the project in which the issues are created. |
Mark Incoming Issues As | 选择要将报告记录为的问题类型。 |
When you make changes in Collaborate, update JIRA associated issues by referencing the issue key in your commit message. For example, “I fixed the crashes caused by ISS–42” adds publish details to issue “ISS–42”.
To configure Discord integrations, Unity calls an app that uses the Discord API to register a webhook to a Discord channel. If you do not have a Discord server, see Discord documentation: How do I create a server?.
要完成配置,请执行以下操作:
To configure Slack integrations, Unity calls an app that uses the Slack API to register a webhook to a Slack channel.If you do not have a Slack server, see Slack documentation: Create a Slack workspace.
要完成配置,请执行以下操作:
1.登录 Slack 帐户。 2.在应用程序的右上角,选择 Slack 工作空间。 3. From the Post to drop-down menu, select the Slack channel to post notifications to. 4. Click the Authorize button.
To configure Discord integrations, Unity calls an app that uses the Discord API to register a webhook to a Discord channel. If you do not have a Discord server, see Discord documentation: How do I create a server?.
要完成配置,请执行以下操作:
Sign in to your Discord account.
From the Select a server drop-down menu select your Discord server.
From the Select a channel menu select a channel to post notifications to.
Click the Authorize button.
To configure Slack integrations, Unity calls an app that uses the Slack API to register a webhook to a Slack channel.If you do not have a Slack server, see Slack documentation: Create a Slack workspace.
要完成配置,请执行以下操作:
1.登录 Slack 帐户。 2.在应用程序的右上角,选择 Slack 工作空间。 3. From the Post to drop-down menu, select the Slack channel to post notifications to. 4. Click the Authorize button.
To edit an existing integration:
1.登录 Unity Services Dashboard。 2. Select the Project that you want to edit an integration for. 3. In the left navigation column, click Settings, then click Integrations (Beta). 4. Click EDIT next to the integration to modify.
The types of edits you can make depend on the integration. For Slack and Discord integrations, you can update the display name or delete the integration.
For webhook and JIRA integrations, you can modify any of the configuration parameters that you supplied when you created them.