User Guide

Jira Development Panel & Automation

GitConnect for Jira sends your GitHub and GitLab branches, commits, and pull/merge requests to Jira's own Development section on each issue. The same data powers Jira Automation's DevOps triggers, so you can build rules that run when a branch is created or a pull request is merged.

Jira's Development section on a work item, showing linked branches, commits, and a pull request sent by GitConnect for Jira

What You Get

  • Jira's Development section on every issue shows linked branches, commits, and pull/merge requests from GitHub and GitLab, next to any other development tools you use
  • Jira's Development dialog - click a count such as 2 branches to see the details, grouped by repository
  • Jira Automation triggers - rules can run on Branch created, Commit created, Pull request created, Pull request merged, and Pull request declined
  • Jira's own development features that read this data, such as the development information on boards and in issue search

GitConnect's own Issue Activity panel and Git Commits / Git Roll Up tabs keep working alongside it - see Development Activity in Jira.

The Development Dialog

Click any count in the Development section - such as 3 branches - to open Jira's Development dialog. Items are grouped by repository, and each repository shows GitConnect For Jira With GitHub And GitLab as its source. The dialog loads the latest data every time it opens.

Branches - each linked branch, its pull/merge request and status, and a Create pull request action for branches that don't have one yet:

Jira Development dialog, Branches tab, listing three linked branches with pull request status and Create pull request actions

Commits - author, commit ID, message, date, and a View link to the changed files on GitHub or GitLab:

Jira Development dialog, Commits tab, listing linked commits with author, commit ID, message, date, and View files links

Pull requests - ID, title, source and target branches, status (for example OPEN), reviewer, and last update:

Jira Development dialog, Pull requests tab, showing an open merge request with its source and target branches

Click any branch, commit, or pull/merge request to open it on GitHub or GitLab.

Turning It On

The feature is on by default. To check or change it:

  1. Open Apps → GitConnect for Jira → App settings
  2. Find Jira Development Information & Automation
  3. Turn Send Development Information to Jira Cloud on or off
  4. Click Update

When you turn it on and save, GitConnect also sends the branches, commits, and pull/merge requests it has already indexed, in the background. On a large site this can take a while.

Note: Turning the setting off stops new data from being sent. Data already in Jira stays there until you disconnect the integration or repository.

Who Can See It

People need these Jira project permissions to see development data on an issue:

  • Browse Projects
  • View Development Tools

Both are set in each project's permission scheme. See Permissions.

How Data Reaches Jira

GitConnect links a branch, commit, or pull/merge request to an issue when the issue key (e.g. PROJ-123) appears in the branch name, commit message, or pull/merge request title. Each time GitConnect indexes a linked item, it sends it to Jira.

How quickly that happens depends on how the repository is indexed:

IndexingWhen Jira Gets New Activity
With indexing triggers (webhooks)As soon as GitHub or GitLab reports the push, branch, or pull/merge request - usually within a minute or two
Without webhooksAt the next scheduled sync, or when someone refreshes the Issue Activity panel on the issue
Created from JiraBranches and pull/merge requests created with Create branch or Create pull request in the Issue Activity panel are sent straight away

Tip: Set up indexing triggers for every repository your teams work in. Webhooks keep Jira's Development section and Automation rules close to real time. See Indexing Triggers (Webhooks).

Seeing the Latest Data in Jira

Jira's Development box on the issue (the counts, such as 2 branches or 1 merge request) is only loaded when the issue page opens. It does not update on its own.

WhereHow to See the Latest Data
Development box (counts on the issue)Refresh the page (F5 or the browser's reload button)
Development dialog (opens when you click a count)Opening the dialog loads the latest data each time - no page refresh needed
GitConnect's Issue Activity panelUpdates straight away - no page refresh needed

After Create branch or Create pull/merge request: the new branch or pull/merge request shows in the Issue Activity panel straight away, but the counts in Jira's Development box stay the same until you refresh the page. To check it reached Jira without refreshing, click a count in the Development box to open the dialog.

Note: Jira processes the data in the background. It usually appears within a minute, but Jira can occasionally take longer. If a new item is missing after a refresh, wait a few minutes and refresh again.

Deleted Branches

When a branch is deleted, GitConnect removes it from Jira's Development section too:

  • Deleted on GitHub or GitLab - removed when the webhook reports the deletion
  • Deleted from Jira with Delete branch in the Issue Activity panel - removed straight away
  • Repositories without webhooks - removed the next time someone refreshes the Issue Activity panel on that issue and GitConnect sees the branch is gone

Note: Unlink in the Issue Activity panel only removes the link from GitConnect's own panel. It does not remove the item from Jira's Development section.

Jira Automation Flows

Use Jira Automation's DevOps triggers to automate your workflow from Git activity. Jira calls automation rules flows. All five triggers work with GitConnect for Jira:

TriggerRuns When
Branch createdA branch whose name includes the work item key is created
Commit createdA commit whose message includes the work item key is pushed
Pull request createdA pull/merge request linked to the work item is opened
Pull request mergedA linked pull/merge request is merged
Pull request declinedA linked pull/merge request is closed without merging

Creating a Flow

  1. Open the space (project) and go to Space settings → Automation
  2. Click Create flow
  3. Pick a trigger: Branch created, Commit created, Pull request created, Pull request merged, or Pull request declined
  4. Add conditions and actions - for example, Transition the work item to a status
  5. Name the flow, make sure it's Enabled, and click Save

Example Flows

WhenThen
Branch createdTransition the issue to In Progress
Pull request createdTransition the issue to In Review and add a comment with the pull request link
Pull request mergedTransition the issue to Done
Pull request declinedTransition the issue back to In Progress and notify the assignee
Commit createdAdd a comment with the commit message, e.g. {{commit.message}}

Triggers fire for new activity. Older history - for example, records sent when the setting is first turned on - is sent to Jira as history, separately from new activity.

Tip: To test a flow, create a new branch or pull request whose name or title includes the work item key, then open Space settings → Automation → Audit log. Each run is listed with its flow name and a status such as Success.

Note: Turn on Send Development Information to Jira Cloud in GitConnect's App settings - the triggers only run on data GitConnect sends to Jira.

Disconnecting

Disconnecting also cleans up Jira's Development section:

  • Disconnect an integration - the branches, commits, and pull/merge requests GitConnect sent for that integration are removed from Jira
  • Disconnect a repository - that repository's data is removed from Jira
  • A repository connected through another integration is not affected - its data is kept and still shows once in Jira

Jira can take a few minutes to update after a disconnect. See Managing Connected Repositories.

One Repository, Several Integrations

If the same repository is connected through more than one integration, Jira shows it once, under the integration that connected it first. GitConnect hands it over automatically if that integration is disconnected.

Troubleshooting

ProblemWhat to Do
Development section is emptyCheck that Send Development Information to Jira Cloud is on in App settings, the issue key is in the branch name, commit message, or pull/merge request title, and you have the View Development Tools permission
New branch or commit doesn't show in the Development boxRefresh the page - the box does not update on its own. If it's still missing, check that the repository has indexing triggers (webhooks) set up, or refresh the Issue Activity panel
Created a branch or pull/merge request, but the count didn't changeExpected - refresh the page. Or click a count to open the Development dialog, which always loads the latest data
Issue Activity shows it, but Jira's Development section doesn't after a refreshJira processes the data in the background - wait a few minutes and refresh the page again
Automation flow didn't runCheck Space settings → Automation → Audit log, that the flow is Enabled, that the work item key is in the branch name, commit message, or pull/merge request title, and that the activity is new rather than older history
Deleted branch still showsRefresh the Issue Activity panel on the issue, then reload the page