Change the caption of a custom field on the fly such as a warning message during create issue transition

Issue #814 resolved
Joseph Pursel created an issue

Can I use a JWT validator to change the caption of a custom field on the fly such as a warning message when a user selects an option in a checkbox field? The warning will appear such as “Warning, you are about to create a Critical ticket that will halt all production for this system. Are you sure you want to do this? “

And then have them answer yes or no during the create issue transition. Is this possible with JWT? If so, I would like to know how to approach this as I could implement this now. Please let me know.

Joe Pursel

Comments (2)

  1. Fidel Castro Armario repo owner

    Hi @amazonadmin,

    Sorry, we can't show a warning message, and keep transition execution to creating issue. Anyway, I can give you the following alternative approach:

    1. Add a select list field called "All production in the system will be halt due to critical priority" to create screen with options Yes and No.
    2. Add a boolean validator to Create Issue transition with the following boolean expression:
    %{00017} = "Critical" EQV %{nnnnn} = "Yes"
    

    replacing nnnnn with field code for field "All production in the system will be halt due to critical priority". %{00017} is field code for Priority.

    The warning message can be:

    Critical issues require confirmation that the production in the system will be halt.
    Confirmation is not allowed for other priorities.
    
  2. Fidel Castro Armario repo owner

    I close the issue, please reopen it if you find that provided solution is not satisfactory.

  3. Log in to comment