Required fields

Fix Azure DevOps work item types that have a required field Avion can't fill.

Azure DevOps rejects a new work item if a required field is empty. Avion fills some fields, but not all. If a mapped work item type has a required field Avion can't fill, Avion can't create work items of that type.

Fields Avion fills

Avion always sends these fields, so a required flag on them is never a problem:

  • Title
  • State
  • Area Path
  • Iteration Path

Avion also sends these fields when the card has a value:

  • Description
  • Acceptance Criteria or Impact Assessment
  • Story Points, Effort, or Size

If one of these is required and the card has no value, Azure DevOps rejects the work item. Avion shows Azure DevOps's error, which names the field.

Any other required field without a default value blocks the sync.

When Avion checks

  • At setup. After you map your work item types, Avion lists each type with a required field it can't fill. You can't finish setup until you fix them.
  • Before each push. Avion checks the types in that push. If one has a required field Avion can't fill, Avion sends nothing and shows a notification. For example, "Couldn't push 2 steps to Azure DevOps. The Change Request type requires Approver, which Avion can't fill."

Avion checks integrations set up before custom type mapping too, using their stock types.

Fix a required field

Make the field optional, or give it a default value. You need to be a Project Collection Administrator or have permission to edit the process in Azure DevOps.

  1. In Azure DevOps, open Organization settings. Under Boards, select Process.
  2. Open the inherited process your project uses.
  3. Open the work item type named in Avion's message.
  4. Find the field and open its options.
  5. Clear Required, or set a Default value.
  6. Save.

Read Microsoft's guide to adding and managing fields for more detail.

Then go back to Avion:

  • During setup, click Try Again. To choose other types instead, click Change mapping.
  • After a blocked push, push your cards again.

Some processes make a field required only in certain states, through rules. Avion can't see these rules before a push. If Azure DevOps rejects a work item, its error names the field. Fix it the same way.

If you have any questions about required fields, reach out to us at support@avion.io.

On this page