On this page:

How to hide transitions based on the Didit checklist metadata field

You must have Jira admin permission in order to add a validator to a Jira workflow. If you do not have Jira admin permission, request assistance from the Jira admin of your instance. Please keep in mind the general best practices when editing Jira workflows. This workflow could be shared with other projects, try to be aware of how many projects you are changing.

  1. ac-image
    ac-image
  2. Go to the “Workflows” on the left side and click the pencil icon to edit the workflow.

    ac-image
    ac-image
  3. In the diagram view, click the transition you would like to hide.

    ac-image
    ac-image
  4. Select “Conditions” from the options.

    ac-image
    ac-image
  5. Click “Add condition.”

    ac-image
    ac-image
  6. Choose the condition “Value field” from the list and click “Add.”

    ac-image
    ac-image
  7. Choose the “Didit metadata” field.

    ac-image
    ac-image
  8. Choose ”=” as the qualifier for the condition.

    ac-image
    ac-image
  9. Finally, type the metadata value that you would like the Didit metadata field to be in order to show the transition. Remember, the Didit metadata field stores the metadata field name and the value, so your text will need to have both. In our example, we are using the “Job title” metadata, so our Value will say “Job title: IT Admin.” For the comparison type, choose “string” and click “Add.”

    ac-image
    ac-image
  10. Publish the draft to apply the changes and make them effective. If you think you may want to revert the change, you can always save a backup copy.

    ac-image
    ac-image
  11. Now, the transition will only show in the workflow if the Job title metadata has the value “IT Admin.”

    ac-image
    ac-image

You can use this same method for any status and any transition in a company managed project.

Short link to this page: https://seibert.biz/diditmetadatacondition