Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21076

Allow non admins to link jira issues to a test result

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Currently linking Jira issues to a test result is only available for users with ADMIN permission:

      All users with BUILD permission able to quarantine build results should be able to link Jira issues.

      Workaround

      Update file BAMBOO_INSTALL_DIR/atlassian-bamboo/lib/tests.ftl

      find code

      ...
           [#if hasAdministrationPermission]
               [@displayTestToJiraActions linkedJiraIssueKey=linkedJiraIssueKey testCaseId=testResult.testCase.id planResultKey=testResult.testClassResult.buildResultsSummary.planResultKey returnUrl=currentUrl /]
          [/#if]
      ...
      

      and update it by removal if statement to have

      ...
      [@displayTestToJiraActions linkedJiraIssueKey=linkedJiraIssueKey testCaseId=testResult.testCase.id planResultKey=testResult.testClassResult.buildResultsSummary.planResultKey returnUrl=currentUrl /]
      ...
      

       

              achystoprudov Alexey Chystoprudov
              sorlovski Zaro
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: