Skip to content

Commit a25474a

Browse files
Copilotbrontevdhvgrltwinvgrl
authored
Copilot for Jira enhancements (custom agents, fields, instructions, branching) (#60823)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: brontevdh <91372600+brontevdh@users.noreply.github.com> Co-authored-by: vgrltwin <vgrl+twin@github.com> Co-authored-by: Vanessa <vgrl@github.com>
1 parent 701f9ac commit a25474a

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

content/copilot/how-tos/use-copilot-agents/cloud-agent/integrate-cloud-agent-with-jira.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ category:
1818
> * {% data variables.product.prodname_copilot %} uses AI. Check for mistakes. See [AUTOTITLE](/copilot/responsible-use/copilot-cloud-agent).
1919
> * You can provide feedback about the {% data variables.product.prodname_copilot %} for Jira integration in the [{% data variables.product.github %} survey](https://www.surveymonkey.com/r/CCAforJira).
2020
21-
The {% data variables.product.prodname_copilot %} integration in Jira allows you to invoke {% data variables.copilot.copilot_cloud_agent %} without leaving your Jira workspace. From within a Jira work item you can initiate {% data variables.copilot.copilot_cloud_agent_short %} sessions and open pull requests, using the context of the work item's title, description, labels, and comments.
21+
The {% data variables.product.prodname_copilot %} integration in Jira allows you to invoke {% data variables.copilot.copilot_cloud_agent %} without leaving your Jira workspace. From within a Jira work item you can initiate {% data variables.copilot.copilot_cloud_agent_short %} sessions and open pull requests, using the context of the work item's title, description, labels, comments, and any Atlassian custom fields such as acceptance criteria.
2222

2323
## Prerequisites
2424

@@ -71,7 +71,7 @@ Once the {% data variables.product.prodname_copilot %} for Jira app has been ins
7171

7272
To enable the {% data variables.product.prodname_copilot %} for Jira app for an organization:
7373

74-
1. In Jira, go to the settings page for your space.
74+
1. In Jira, go to the settings page for your workspace.
7575
1. Go to the applications setting page for the {% data variables.product.prodname_copilot %} app.
7676
1. Optionally, click **Connect More {% data variables.product.github %} Organizations** to add new organizations to the list.
7777
1. Enable the {% data variables.product.prodname_copilot_short %} app for one or more of the listed organizations.
@@ -90,8 +90,6 @@ You can trigger {% data variables.copilot.copilot_cloud_agent %} in three ways:
9090
* **Mention** `@{% data variables.product.prodname_copilot %}` in a comment on a work item.
9191
* **Add {% data variables.product.prodname_copilot_short %} to a workflow transition** so it is triggered automatically when a work item moves to a specific status. See [Collaborate on work items with AI agents](https://support.atlassian.com/jira-software-cloud/docs/collaborate-on-work-items-with-ai-agents/#Add-an-agent-to-workflow-transitions) for setup instructions.
9292

93-
To change the model used by {% data variables.copilot.copilot_cloud_agent %} for a specific task, include the model name in your instructions to {% data variables.product.prodname_copilot_short %}. For example, you can say `@{% data variables.product.prodname_copilot %} use Claude Sonnet 4.5 to create a new API endpoint for user authentication in octo-org/octorepo`. If you do not specify a model, {% data variables.copilot.copilot_cloud_agent %} will use the default model for coding tasks, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/changing-the-ai-model).
94-
9593
> [!NOTE]
9694
> When you assign {% data variables.product.prodname_copilot_short %} to a Jira work item, the context the agent captures from Jira will be added to the pull request and **visible to everyone** if the repository is public.
9795
@@ -114,6 +112,26 @@ To change the model used by {% data variables.copilot.copilot_cloud_agent %} for
114112
> [!TIP]
115113
> If you have not received confirmation of triggering {% data variables.copilot.copilot_cloud_agent %} after 1 minute, refresh the Jira work item page.
116114
115+
## Customizing {% data variables.copilot.copilot_cloud_agent %} in Jira
116+
117+
You can customize how {% data variables.copilot.copilot_cloud_agent %} works in your Jira workspace by specifying models, agents, custom instructions, and branching rules.
118+
119+
### Specifying a model
120+
121+
To change the model used by {% data variables.copilot.copilot_cloud_agent %} for a specific task, include the model name in your instructions to {% data variables.product.prodname_copilot_short %}. For example, you can say `@{% data variables.product.prodname_copilot %} use Claude Sonnet 4.5`. If you do not specify a model, {% data variables.copilot.copilot_cloud_agent %} will use the default model for coding tasks, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/changing-the-ai-model).
122+
123+
### Specifying a custom branch
124+
125+
{% data variables.copilot.copilot_cloud_agent_short_cap_c %} respects branch naming rules specified in individual Atlassian tickets. If a ticket includes specific branching conventions, {% data variables.product.prodname_copilot_short %} will read and follow them when creating pull requests, keeping your repository consistent with your existing workflow.
126+
127+
### Specifying a custom agent
128+
129+
You can specify a custom agent from your {% data variables.product.github %} repository directly in the Jira ticket. This allows teams to tailor {% data variables.copilot.copilot_cloud_agent_short %}'s behavior to their specific needs. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents).
130+
131+
### Using custom instructions
132+
133+
You can define custom instructions at the Jira workspace level that apply every time {% data variables.copilot.copilot_cloud_agent %} is triggered. Use these instructions to specify defaults such as the target repository, default branch naming rules, preferred models, or particular agents to use. This reduces repetitive configuration and increases control over the agent's behavior.
134+
117135
## Usage costs
118136
119137
{% data variables.copilot.copilot_cloud_agent %} uses {% data variables.product.prodname_actions %} minutes and {% data variables.product.prodname_copilot_short %} premium requests.

0 commit comments

Comments
 (0)