How to map Jira custom fields to label metrics

If you like a particular label style for metrics in Foxly that you currently use, you can map custom field values for these labels.

Mapping example

To map a Jira custom field called shirt (the type of this field is short text).

  1. Click the Priorities tab > Customize button

    f22106aa-4389-4229-b1bc-de7abad6980a.png

     

  2. The settings of the prioritization template appear. In this example, the Quick Wins template is used. Click the Effort label and select Store values in custom field.

    Screenshot 2024-02-21 at 5.01.42 PM.png

     

  3. Click Save Changes.

  4. Click Project settings > Automation.

  5. Click Create a rule. The Field value changed section appears.

     

  6. Search and select the custom field Shirt, then click Save.

  7. Click Add component and select the New branch > Branch rule.
    With the Branch rule, you can only update the desired Foxly metric label when it matches the right condition.

  8. To assign the XS label to the metric label in Foxly, use the JQL condition:

    "shirt[Short text]" ~ "XS"
  9. Set an action to update the label field in Foxly:

    { "fields": { "customfield_10127" : 1 } }

    Since the metric in Foxly is a custom field, you must add a custom field ID in the Additional fields section. In this example, the label is Effort - Quick Wins.  To learn more about finding custom field IDs, see https://confluence.atlassian.com/jirakb/how-to-find-id-for-custom-field-s-744522503.html.

  10. The JSON must be written with the custom field ID and the value ID. In this example, Effort is the metric, Quick Wins is the template, and the value ID is 1.

     

  11. Create a Branch rule for each Effort value metric and change JQL conditions accordingly: