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

Behaviour UI condition checks the workflow step incorrectly for Create screen

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 6.4.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4J Sprint 80
    • Critical Points:
      0.7

      Description

      To reproduce:

      • Set up a behaviour and select an applicable guide workflow.
      • Use the UI conditions to set some field as read-only, with an except condition specifying that the issue must not be in the initial step (not status) of the workflow.
      • Open the Create Issue screen in a project where the behaviour is mapped.

      Expected: The except condition passes and the field remains writeable.

      Actual: The condition fails and the field becomes read-only.

      This happens because the Behaviours backend tries to compare the step ID as configured by the user (usually a small-valued Integer) with the status ID associated with the initial step (usually a large-valued integer converted to a String). This only happens during issue creation.

        Attachments

          Structure

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              jchoules Joanna Choules
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel