Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-4052

Tempo dynamic dropdown throws an error with SR Population

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.6.9.1-p5, 5.6.10.1-p5, 5.6.11.1-p5
    • Fix Version/s: None
    • Component/s: Third-Party Apps
    • Labels:
      None
    • Critical Points:
      0.4

      Description

      Tempo dynamic dropdown is not working with the most recent version of Tempo which is 10.10.1.

      The browser throws an error:
      “Refused to execute script from “API location” MIME type (‘application/json’) is not executable, and strict MIME type checking is enabled.“

       

      Steps to Reproduce

      • Create the ScriptRunner REST endpoint by using the script here 
      • Go to Tempo->Settings->WorkAtrributes and Create Tempo field Dynamic Dropdown type and set the values field with REST API URL location:<jira_base_url>/rest/scriptrunner/latest/custom/tempoWorkType 
      • In an Issue View Screen, click on More->Log Time

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jmarques Jose Marques
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: