How to make custom field required for one issue type in the project

Issue #761 resolved
Former user created an issue

Hi,

I would like to make custom field required for one issue type in project (considering many issue types present in the project).

Is there a way we can use JWT for this?

Thanks Vas

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi @VMAKAM,

    You should use "Boolean validator with math, date-time or text-string terms" in Create Issue transition of your workflow with a boolean expression like this one:

    %{00014} in ["Bug", "New Feature", "Story"] IMPLIES (%{aaaaa} != null AND %{bbbbb} != null)
    

    You should replace aaaaa and bbbbb with field codes of a pair of fields you want to make mandatory for issue types Bug, New Feature and Story.

    Note that %{00014} is field code for Issue type.

    The expression is easily scalable to any number of issue types and fields you want to consider.

  2. Log in to comment