Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-5783

Make field required only for one state transition

XMLWordPrintable

    • 84
    • 56
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Atlassian Update – 20 July 2016

      Hi everyone,

      Thanks for voting and commenting on this issue. Your feedback is key to helping us understand how you use JIRA so we can continue improving your experience. We have reviewed this issue over the last few days.

      The Field Required Validator for workflow transitions has been incorporated into JIRA Cloud as a native feature. For JIRA Cloud customers, we recommend using this validator as the most direct way to resolve this use case.

      For JIRA Server customers, the validator is still available by installing the JIRA Suite Utilities plugin, which is free and available on the Atlassian Marketplace.

      Please don't hesitate to contact me if you have any questions or feedback.

      Regards,
      Dave Meyer
      dmeyer@atlassian.com
      Product Manager, JIRA Platform

      Original request description:

      The reporter can not add an issue when he has no resolve permissions and the "fixed Version" field is a required field.

      As a JIRA Administrator I want a "Fixed version" to be a required field when resolving. But it seems illogical that someone reporting an issue should enter the field. This applies to other fields as well.

      Workaround

      I'm updating the original workarounds with the steps on how to use this feature:

      The Field Required Validator for workflow transitions was incorporated into JIRA Cloud as a native feature in 2016.

      To use the example from the original post, here is how I added a validator to a single transition of a workflow in my company-managed software project:

      You should add a transition screen (not pictured) that contains the required field so that the user is able to give it a value during the transition.

      Here's what I see if I try to transition an issue to Done, without it having a value in the Fix versions field:

      Note: There is no red asterisk next to the Fix version field, because it is required by a workflow validator (unlike the Description field, which has been made required in a Field Configuration). There is a feature request to add such UI highlight, here: JRACLOUD-76479 – Make validator required fields more visible on screens

      I will not see the above error on any other transitions, as the validator only exists in the transition between the statuses In Progress and Done.

        1. image-2016-11-30-17-09-04-940.png
          image-2016-11-30-17-09-04-940.png
          19 kB
        2. image-2022-12-01-20-41-00-397.png
          image-2022-12-01-20-41-00-397.png
          161 kB
        3. image-2022-12-01-20-44-09-218.png
          image-2022-12-01-20-44-09-218.png
          161 kB
        4. JRA-5783.png
          JRA-5783.png
          44 kB
        5. screenshot-1.png
          screenshot-1.png
          211 kB
        6. screenshot-2.png
          screenshot-2.png
          192 kB
        7. screenshot-3.png
          screenshot-3.png
          131 kB

              Unassigned Unassigned
              9f222f87c041 Furore Jira Admin
              Votes:
              859 Vote for this issue
              Watchers:
              456 Start watching this issue

                Created:
                Updated:
                Resolved: