How to map Jira custom fields to label metrics in Foxly?

If you like a label style of metrics in Foxly and want to keep using them, you can map custom field values corresponding to which label.

Let's imagine that we need to map a Jira custom field called "shirt" (the type of this field is short text).

1- First is necessary to access the Priorities tab, located on the hand-left of the project menu. Then, click on the customize button. 

 

2- It will load the settings of the prioritization template. In the example below, we’re using the Quick Wins template.

Click on the label (Effort) metric, and select the option store values in custom field. Then, click on the button Save Changes.

4-  Navigate to the project settings, then click on Automation.

5- In the automation settings, click on create a rule, then the trigger is the Field value changed, search and select the custom field Shirt, then click on Save.

 

6- Click on the Add component, and select the new branch. Then, select Branch rule.

By using the Branch rule it's possible to update the Foxly label metric with the right value, only when it matches the right condition.

7- The next step is to add a condition, to assign the XS label to the Label metric in Foxly, use the JQL condition;

"shirt[Short text]" ~ "XS"

8- Then, set an action to update the label field in Foxly.

Please note, As the metric in Foxly is a custom field, it's necessary to add a custom field ID in the Additional fields section. To find the Effort (label) custom field ID is necessary to know the name of the template. In my example, it will be Effort - Quick Wins.  Therefore, to find the ID of these custom fields, use this guide. How to find the id for custom field(s)?

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

The JSON needs to be written with the custom field ID and the value ID. In the example below, Effort is the metric, " Quick Wins" is the template, and the value ID is 1.

9- Create a branch rule for each Effort value metric and change JQL conditions accordingly. This automation will be displayed like the screenshot below:

 

Need help? Contact our support team by clicking on the following link: Jexo Foxly Support.