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

Problem in Rendering the Scripted Field on the Dashboard Gadget if Specific Issue Type(s) are selected in the Scripted Field's Custom Field Configuration

    Details

    • Type: Bug
    • Status: Triage (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.3.0, 6.2.0-p5
    • Fix Version/s: None
    • Component/s: Scripted Fields
    • Labels:
      None
    • Critical Points:
      2.3

      Description

      Steps to reproduce

      1. Create a new project
      2. Add an Issue(s) picker Scripted Field and add a basic JQL Query for e.g.:-
             project = FRP and status != Done
           

        Below is a print screen for reference:-

      3. Next go to the Custom Fields and edit the Configuration of this Field.
      4. In the Configuration, change the Issue type(s) from Global Configuration to the issue types that you want to associate with. Below is an example:-
      5. Next create a couple of issue and select the value for the Issue Picker list.
      6. Next, you can either include a Filtered Results gadget on to your dashboard and associate include the custom field or you can do a JQL Query both have the same behaviour.

      Current Behaviour

      1. When the JQL Query is run, error messages saying Error rendering 'single-issue-picker-cf'. Please contact your Jira administrators. appear for the issue types which are not configured in the Custom Field Configuration. Below is a print screen of the result of the JQL Query:-
      2. And Below is print screen of the output in the Filtered Results gadget on the dashboard

      Expected Behaviour

      1. Even if the Issue type is not specified in the Custom Field Configuration, the error message should not appear in either the JQL Query output or the Dasboard gadget.

      Additional Info

      A test video i.e. test1.mp4 is included for reference:-

        Attachments

        1. custom_field_config.png
          custom_field_config.png
          152 kB
        2. dashboard_result.png
          dashboard_result.png
          99 kB
        3. image-2020-06-25-17-46-12-318.png
          image-2020-06-25-17-46-12-318.png
          114 kB
        4. issue_picker_config.png
          issue_picker_config.png
          135 kB
        5. JQL_Result.png
          JQL_Result.png
          129 kB
        6. test1.mp4
          3.82 MB

          Structure

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rkumar Ram Kumar Aravindakshan
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Structure Helper Panel