On this page:

How to set checklist metadata with automation

You need a checklist with metadata in order to use this automation rule.

  1. ac-image
    ac-image
  2. Click “Create rule.”

    ac-image
    ac-image
  3. Choose any trigger you would like. For this example, we will use the “Issue transitioned” trigger.

    ac-image
    ac-image
  4. If you would like to add a condition, you may do so here.

    ac-image
    ac-image
  5. For the automation action, choose the “Set entity property” action.

    ac-image
    ac-image
  6. In the “Property key” field, add the text “didit.action.” Please note that the “didit.action” property is case sensitive.

    ac-image
    ac-image
  7. For the “Property value,” use JSON like below.

    The action will always be “set_metadata” if you want to set a checklist’s metadata. For the “name” row, choose the name of the metadata you would like to set. Finally, in the “value” field, choose the value or Jira smart value you would like to put in the metadata field.

    For JSON examples, please visit our Jira automation examples page.

    {
    "action": "set_metadata",
    "name": "Employee Name",
    "value": "{{issue.summary}}"
    }
    
    ac-image
    ac-image
  8. When you are finished, turn on the rule and you can see it in action.

Link to this page: https://seibert.biz/diditautomationsetmetadata