Transition cannot be done due to an OptionID condition related to Select List (single choice) field

XMLWordPrintable

    • 3
    • Severity 3 - Minor

      Summary

      The transition cannot be done due to a condition that is always returning false, even though it was supposed to return true. The condition is the following:

      The field Test will have to be equal to value 'ID of the option'. Compared as OptionID.

      Where the field 'Test' is a Select List (single choice) custom field.

      It works if the same condition is used but comparing the String instead of OptionID.

      Environment

      Cloud Jira 1001.0.0-SNAPSHOT

      Steps to Reproduce

      1. Add this condition to a workflow transition:

        The field Test will have to be equal to value '000'. Compared as Option ID.

      2. Change the field and fill the field with the option related to the id '000' (so the condition should be true).
      3. You won't see the transition even though you should be able to
      4. Remove the condition and you see the transition

      Expected Results

      To be able to transition the issue since the condition is supposed to return true

      Actual Results

      Not able to see the transition

      Workaround

      1. Compare using 'String' instead of 'OptionID'.
      2. Use name instead of the ID of the option.

            Assignee:
            Unassigned
            Reporter:
            Soane Korte (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: