GitLab for Jira Cloud App Sync Delay

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

We use gitlab.com, Jira Cloud (Service Desk and Software), Jira Issues integration, and the GitLab for Jira Cloud app.

We prefer the GitLab Flow workflow, especially the early feedback enabled by having the MR in place at the start. Since we already have Jira tickets, we don't want to create GitLab issues and would like to start the GitLab Flow workflow from a Jira ticket.

We have not found a way to create an MR directly from a Jira ticket in one step like we can from a GitLab issue. To work around this, we plan to follow a two-step process: first, create a branch using the "Create branch" link on the Jira ticket, then use the "Create pull request" link on the Jira ticket to create an MR.

Our issue is the 20+ second delay between branch creation and the visibility of the new branch and "Create pull request" link in the Jira ticket's developer panel. This delay might cause the second step of creating the MR to be forgotten, preventing early feedback on commits.

Steps to reproduce

  1. Open a Jira ticket
  2. Select "Create branch" link in developer panel
  3. Select "Create branch in GitLab" from list
  4. In GitLab tab that opens
    1. Select Project from list
    2. Leave remaining defaults as-is
    3. Select "Create branch" button
  5. Close GitLab tab
  6. Refresh Jira ticket - the branch link is not visible and the "Create merge request" link is not visible
  7. Wait > 20 seconds
  8. Refresh Jira ticket - the branch link is visible and the "Create merge request" link is visible

Zendesk ticket: https://gitlab.zendesk.com/agent/tickets/621706 (Internal)

Example Project

What is the current bug behavior?

It is not possible to create a merge request from a Jira ticket immediately after creating a branch from the Jira ticket.

What is the expected correct behavior?

Immediately after creating a branch from a Jira ticket, the option is available to create a merge request from the Jira ticket.

Output of checks

This bug happens on GitLab.com

Edited by 🤖 GitLab Bot 🤖