Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3688

getOptionName() is not retrieving name of the "child" of Jira Select List (Cascading)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.1.5, 6.1.6
    • Fix Version/s: 6.2.0
    • Labels:
    • Environment:

      Jira Project management 7.8

      Jira 8.2.1

    • Functional components:
      Velocity

      Description

      How to reproduce

      • Create a Jira Select List (Cascading)
        • Op1: a, b
        • op2: c, d
      • Assign it to screen 
      • Create an Elements Connect field "cascade":
        • Datasource: Jira SQL
        • Editor: Read only
        • Key: 0
        • Template: {1}
        • Query
      select id, CUSTOMVALUE
      from CUSTOMFIELDOPTION
      where CUSTOMVALUE = '$issue.customfield_12100.getOptionName()' 

      Expected Results

      The field returns the option name.

      Actual Results

      The query returns nothing.

      Note

      Currently, Connect return the ID of the "child" not "parent" of a Jira Select List (Cascading), a CR is created to retrieve the father value as well CO-3687

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              nelly.sammak@elements-apps.com Nelly Sammak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: