Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-2818

The latest custom JIRA issue key regex is not used to reindex the old commits

XMLWordPrintable

    • 9
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Steps to reproduce

      1. Do not modify Dintegration.jira.key.pattern (previosuly Dstash.jira.key.pattern - see STASH-2784)
      2. Integrate Bitbucket Server with JIRA
      3. Perform a commit to Bitbucket Server with the comment 'TST3-123' (The issue column does not have JIRA issue link)
      4. Stop Bitbucket Server
      5. Modify JIRA custom issue key regex by editing the setenv script:
        JVM_SUPPORT_RECOMMENDED_ARGS="-Dintegration.jira.key.pattern=\"b([a-zA-Z][a-zA-Z0-9]+-\d+)\""
        
      6. Start Bitbucket Server
      7. Perform another commit to Bitbucket Server with the comment 'TST3-123'

      Expected Results

      Previously pushed commits have the issue link.

      Actual Results

      Only the latest commit has the issue link.

              Unassigned Unassigned
              klfoong Foong (Inactive)
              Votes:
              14 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated: