Field non-editable after a particular status in workflow

Issue #945 resolved
Bharath B created an issue

We have the below workflow and we want to make a field in the screen non editable after a particular status.

the name of the field is Change Type, we want to make the Change Type field non editable after the Test Ready Status in the workflow.

Comments (2)

  1. Fidel Castro Armario repo owner

    Hi @Bkappala,

    You can use the following solution:

    1. Create a screen called "Change Type Edition" with only field "Change Type".
    2. Remove field "Change Type" from EDIT screen, but keep it in VIEW screen. If you share the same screen for EDIT and VIEW operation, you have to split it in two different screens.
    3. Create a global reflexive transition called "Edit Change Type", and associate screen "Change Type Edition" to it. Global transitions are available from any status, and reflexive transitions doesn't change issue status. The following screenshot shows how to create a global reflexive transition: global-reflexive-transition.png
    4. Add "Boolean validator with math, date-time or text-string terms" condition with the following boolean expression:
    %{00016} not in~ ["Release Ready", "Done"]
    

    where %{00016} is field code for Issue status.

  2. Log in to comment