• Products
  • Documentation
  • Resources

Jira Automation docs have moved

All content related to Jira Cloud Automation, previously under the Automate your Jira processes and workflows section, have moved to the new Cloud Automation docs.

Go to Cloud Automation documentation | Why did we do this?

Enable code

This page is for team-managed projects

If the lower-left of your project sidebar says you're in a company-managed project, check out these company-managed project articles instead.

Learn more about the difference between company-managed and team-managed projects.

The code feature gives you greater visibility of your team's work by automatically connecting and displaying your code repositories in your project.

Enable code for your team-managed software project

Only project admins can enable and disable features on a project.

  1. Navigate to your team-managed software project.

  2. Go to Project Settings Features.

  3. Enable the Code feature.

A new menu item, Code, will be added to the project menu.

Connecting your team’s repositories

To use the code feature, you’ll need to integrate Jira Software with a source code management tool like Bitbucket or GitHub. Learn more about integrating Jira with your development tool.

The code feature will display all the repositories your team has connected to the current project.

code page

You can connect a repository to a project by including issue keys at the beginning of your branch names, commit messages, and pull requests. Here’s how:

  1. Find the key for the Jira issue you want to connect to, for example “JRA-123”.

  2. Checkout a new branch in your repository, using the issue key at the beginning of the branch name. For example, git checkout -b JRA-123-<branch-name>.

  3. When committing changes to your branch, use the issue key at the beginning of your commit message. For example, git commit -m "JRA-123 <summary of commit>". You can also include the issue key at the beginning of the pull request title.

After you commit your changes or push your branch, go to Code in the project menu to see the connected repository. It can take a few minutes for the connection to complete.

Learn how to reference issues in your development work and read more about integrating Jira Software with your development tools.

Code settings

You can navigate to the code settings from the More options (•••) menu on the top-right corner of the page.

code settings

For example, if you have GitHub installed, select Github settings to manage your app integration.

You can also use this menu to manage your project features if you want to disable the code feature.

View development information in Jira Software

Once you start referencing issues in your development work, you’ll get the following benefits:

Repositories on the Code page

On the Code screen, you’ll see a list of all repositories related to the project.

Development panel on Jira issues

Issues referenced in development work will have a Development panel, which you’ll see when you open it. The panel shows the status of branches, commits, and pull requests related to the issue.

The Jira issue details view, with a section called Development. The issue has 1 branch, 8 commits, and 1 pull request
  1. Development panel: Hover over branches, commits, and pull requests to see when they were last updated.

Learn more about the development panel

Development info on the board

Issues referenced in development work will have icons on their cards that show the status of branches, commits, and pull requests.

A team-managed board, with software development icons. An icon is hovered over, with a tooltip that says "1 pull request".

Automations

Use automations to create rules related to development, like transitioning an issue to In progress when a branch is created.

Learn more about how to automate your Jira Cloud processes

Additional Help