Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

Need Help? If you're facing challenges with integrating custom fields into Jira Automation, we’re here to assist. Book a demo call with us, and mention your specific issue so we can provide tailored support.

...

Table of Contents

Table of Contents
minLevel2
maxLevel2
include
outlinefalse
indent
excludeTable of Contents
typeflat
separatorpipe
class
printabletrue

...

Issue Picker

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up Issue Picker:

Step 1: Prepare the JSON

  1. Modify the JSON object to reflect your desired Issue Picker configuration. Basic JSON for a single and multiple issue links:

...

  1. Replace the customfield_id this with the ID of the custom Issue Picker field.

  2. Replace the "label" with the issue key that you want to appear as the label.

  3. Replace the "value" with the issue key that you want to populate in the Issue Picker field.

Step 2: Integrate the JSON into Automation

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the Issue Picker.

  3. In the rule editor, select the Edit Issue action.

  4. Choose the custom field where the Issue Picker should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Multilevel Select Picker

Modify the JSON object to reflect your desired Multilevel Select Picker configuration. Basic JSON for a single and multiple select pickers:

...

Code Block
{
   "fields":{
      "customfield_10089":{
         "choice":[
            {
               "label":"Parent 1",
               "value":1676970994006,
               "children":[
                  {
                     "label":"Child 1",
                     "value":1676971001546,
                     "children":[
                        {
                           "label":"Child 1.1",
                           "value":1676971006736,
                           "children":[]
                        },
                        {
                           "label":"Child 1.2",
                           "value":1676971012456,
                           "children":[]
                        }
                     ]
                  }
               ]
            },
            {
               "label":"Parent 2",
               "value":1676970997782,
               "children":[
                  {
                     "label":"Child 2",
                     "value":1676971017218,
                     "children":[
                        {
                           "label":"Child 2.1",
                           "value":1676971023330,
                           "children":[]
                        },
                        {
                           "label":"Child 2.2",
                           "value":1676971028736,
                           "children":[]
                        }
                     ]
                  }
               ]
            }
         ],
         "isMultiple":true
      }
   }
}

How to copy value from one multilevel field and add it to a summary

Info

For all possibilites and Jira smart values visit the following link:

https://confluence.atlassian.com/automation/jira-smart-values-lists-993924868.html

These also work on Cloud

...

  • {{issue.fields.customfield_ID.choice.label}}ID → custom field ID

...

Colored Labels

Step 1: Retrieve the field configuration

To begin, you need to obtain the field configuration for the custom field where you intend to apply colored labels. You can do this by using the Jira REST API. Follow the steps below:

...

The following page should open and look like this:

...

Step 2: Configure Colored Labels in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up colored labels:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the colored labels.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the colored labels should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Currency

Step 1: Retrieve the field configuration

To begin, you need to obtain the field configuration for the custom field where you intend to apply currency. You can do this by using the Jira REST API. Follow the steps below:

...

Code Block
{"maxResults":100,"startAt":0,"total":1,"isLast":true,"values":[{"id":"10547","fieldContextId":"10548","configuration":{"currency":[{"id":"AMD","active":true,"symbol":"֏","isoCode":"AMD","currency":"Armenian dram"},{"id":"AUD","active":true,"symbol":"$","isoCode":"AUD","currency":"Australian dollar"},{"id":"BAM","active":true,"symbol":"KM","isoCode":"BAM","currency":"Bosnia and Herzegovina convertible mark"},{"id":"GBP","active":true,"symbol":"£","isoCode":"GBP","currency":"British pound"},{"id":"BND","active":true,"symbol":"$","isoCode":"BND","currency":"Brunei dollar"},{"id":"BRL","active":true,"symbol":"R$","isoCode":"BRL","currency":"Brazilian real"},{"id":"CAD","active":true,"symbol":"C$","isoCode":"CAD","currency":"Canadian dollar"},{"id":"XAF","active":true,"symbol":"FCFA","isoCode":"XAF","currency":"Central African CFA franc"},{"id":"XPF","active":true,"symbol":"₣","isoCode":"XPF","currency":"CFP franc"},{"id":"RMB","active":true,"symbol":"¥","isoCode":"RMB","currency":"Chinese Yuan"},{"id":"HRK","active":true,"symbol":"kn","isoCode":"HRK","currency":"Croatian kuna"},{"id":"COP","active":true,"symbol":"Col$","isoCode":"COP","currency":"Colombian Peso"},{"id":"CZK","active":true,"symbol":"Kč","isoCode":"CZK","currency":"Czech koruna"},{"id":"DKK","active":true,"symbol":"kr","isoCode":"DKK","currency":"Danish krone"},{"id":"XCD","active":true,"symbol":"$","isoCode":"XCD","currency":"Eastern Caribbean dollar"},{"id":"EUR","active":true,"symbol":"€","isoCode":"EUR","currency":"Euro"},{"id":"GGP","active":true,"symbol":"£","isoCode":"GGP","currency":"Guernsey pound"},{"id":"HKD","active":true,"symbol":"$","isoCode":"HKD","currency":"Hong Kong dollar"},{"id":"HUF","active":true,"symbol":"Ft","isoCode":"HUF","currency":"Hungarian forint"},{"id":"INR","active":true,"symbol":"₹","isoCode":"INR","currency":"Indian rupee"},{"id":"ILS","active":true,"symbol":"₪","isoCode":"ILS","currency":"Israeli new shekel"},{"id":"JPY","active":true,"symbol":"¥","isoCode":"JPY","currency":"Japanese yen"},{"id":"JOD","active":true,"symbol":"د.ا","isoCode":"JOD","currency":"Jordanian dinar"},{"id":"MRU","active":true,"symbol":"UM","isoCode":"MRU","currency":"Mauritanian ouguiya"},{"id":"MAD","active":true,"symbol":"د.م.","isoCode":"MAD","currency":"Moroccan dirham"},{"id":"ANG","active":true,"symbol":"ƒ","isoCode":"ANG","currency":"Netherlands Antillean guilder"},{"id":"NZD","active":true,"symbol":"$","isoCode":"NZD","currency":"New Zealand dollar"},{"id":"TWD","active":true,"symbol":"元","isoCode":"TWD","currency":"New Taiwan Dollar"},{"id":"PLN","active":true,"symbol":"zł","isoCode":"PLN","currency":"Polish złoty"},{"id":"RUB","active":true,"symbol":"₽","isoCode":"RUB","currency":"Russian ruble"},{"id":"SHP","active":true,"symbol":"£","isoCode":"SHP","currency":"Saint Helena pound"},{"id":"SGD","active":true,"symbol":"$","isoCode":"SGD","currency":"Singapore dollar"},{"id":"ZAR","active":true,"symbol":"R","isoCode":"ZAR","currency":"South African rand"},{"id":"KRW","active":true,"symbol":"₩","isoCode":"KRW","currency":"South Korean Won"},{"id":"RSD","active":true,"symbol":"дин.","isoCode":"RSD","currency":"Serbian dinar"},{"id":"SEK","active":true,"symbol":"kr","isoCode":"SEK","currency":"Swedish krona"},{"id":"CHF","active":true,"symbol":"Fr.","isoCode":"CHF","currency":"Swiss franc"},{"id":"THB","active":true,"symbol":"฿","isoCode":"THB","currency":"Thailand Baht"},{"id":"TRY","active":true,"symbol":"₺","isoCode":"TRY","currency":"Turkish lira"},{"id":"USD","active":true,"symbol":"US$","isoCode":"USD","currency":"United States dollar"},{"id":"XOF","active":true,"symbol":"CFA","isoCode":"XOF","currency":"West African CFA franc"}],"viewOptions":"left"}}]}

Step 2: Configure Currency in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up currency:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the currency.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the currency should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Unit

Step 1: Retrieve the Field Configuration

To begin, you need to obtain the field configuration for the custom field where you intend to apply unit. You can do this by using the Jira REST API. Follow the steps below:

...

Code Block
{"maxResults":100,"startAt":0,"total":1,"isLast":true,"values":[{"id":"10567","fieldContextId":"10568","configuration":{"unit":[{"id":"second","label":"second","active":true,"description":"The second (s) is the unit of time.","abbreviation":"s"},{"id":"meter","label":"meter","active":true,"description":"The metre (m) is the unit of length.","abbreviation":"m"},{"id":"kilogram","label":"kilogram","active":true,"description":"The kilogram (kg) is the unit of mass.","abbreviation":"kg"},{"id":"liter","label":"liter","active":true,"description":"The liter (L) is the unit of volume.","abbreviation":"L"},{"id":"kelvin","label":"kelvin","active":true,"description":"The kelvin (K) is the unit of thermodynamic temperature.","abbreviation":"K"},{"id":"amper","label":"amper","active":true,"description":"The ampere (A) is the unit of electric current.","abbreviation":"A"},{"id":"mole","label":"mole","active":true,"description":"The mole (mol) is the unit of amount of substance.","abbreviation":"mol"}]}}]}

Step 2: Configure Unit in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up unit:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the unit.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the unit should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

MoSCoW

Step 1: Configure MoSCoW in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up Moscow:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the Moscow.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the Moscow should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Traffic Lights

Step 1: Configure Traffic Lights in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up Traffic Lights:

  1. Modify the JSON object to reflect your desired Traffic Lights configuration. Replace the values with one of the three options "red", "yellow", "green". For example:

    Code Block
    {
      "fields": {
        "customfield_10429": "red"
      }
    }
  2. Go to your Jira instance and navigate to Project Settings > Automation.

  3. Create a new rule or edit an existing one where you want to apply the Traffic Lights.

  4. In the rule editor, use the Edit Issue action.

  5. Select the custom field where the Traffic Lights should appear.

  6. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

T-Shirt Size

Step 1: Configure T-Shirt Size in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up T-Shirt Size:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the T-Shirt Size.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the T-Shirt Size should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Issue Rating

Step 1: Configure Issue Rating in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up Issue Rating:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the Issue Rating.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the Issue Rating should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Progress Bar

Step 1: Configure Progress Bar in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up Progress Bar:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the Progress Bar.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the Progress Bar should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Abbreviate Numbers

Step 1: Configure Abbreviate Numbers in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up Abbreviate Numbers:

...

  1. Go to your Jira instance and navigate to Project Settings > Automation.

  2. Create a new rule or edit an existing one where you want to apply the Abbreviate Numbers.

  3. In the rule editor, use the Edit Issue action.

  4. Select the custom field where the Abbreviate Numbers should appear.

  5. Paste the modified JSON into the appropriate field to set the label after a transition, during issue creation, or any other workflow action.

...

Decimal Numbers

Step 1: Configure Decimal in Automation rules

Once you have the necessary JSON structure, you can incorporate it into your Jira automation rules. Follow these steps to set up Decimal:

...