Versions Compared

Key

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

...

Panel
borderStylesolid

Checklist

  • Description: A Field of the type Checklist, is an array of Check list items. Each selected ChecklistItem is an object in itself.

  • Accessing a field of Checklist type: You can access a custom field of Checklist type using any of the following getters of the Issue interface:
    • get("Your custom field name") or get("customfield_xxxxx") that returns a Collection<ChecklistItem>
      • Example: Name of the first ChecklistItem of a checklist field

        Code Block
        languagegroovy
        linenumberstrue
        issue.get("Checklist field name").first().name


      • Example: is a specific ChecklistItem selected?

        Code Block
        languagegroovy
        issue.get("Checklist field name")?.find{
          it.name == "test"
        }?.isChecked()


      • Example: All mandatory ChecklistItem

        Code Block
        languagegroovy
        issue.get("Checklist field name")?.findAll{
          it.mandatory == true
        }


      • Example: Print all the names of the ChecklistItems

        Code Block
        languagegroovy
        <% def count = 0
        issue.get("Checklist field name").each() {
          count++
          print "Checklist Item " + count + ": " + it.name + "\n"
        }
        %>


    • getAsString("Your custom field name") or getAsString("customfield_xxxxx")that returns a String with comma separated ChecklistItem

      • Example: All Checklist item

        Code Block
        languagegroovy
        issue.getAsString("Checklist field name")


Insight custom fields

Panel
borderStylesolid

Insight Object/s

  • Description: A recommended Insight field of the type Insight Object/s that supports both single and multiple values.

  • Accessing a field of Insight object/s type: You can access a custom field of Insight object/s type using any of the following getters of the Issue interface:


Panel
borderStylesolid

Insight Readonly Object/s

  • Description: A field of the type Insight Readonly Object/s that displays Insight Object/s.

  • Accessing a field of Insight Readonly Object/s: You can access a custom field of the Insight Readonly Object/s type using any of the following getters of the Issue interface:


Panel
borderStylesolid

Insight Referenced Object (single)

  • Description: A field of the type Insight Referenced Object (single) that connects Insight Object/s referenced from another Insight Custom Field.

  • Accessing a field of Insight Referenced Object (single): You can access a custom field of the Insight Referenced Object (single) type using any of the following getters of the Issue interface:


Panel
borderStylesolid

Insight Referenced Object (multiple)

  • Description: A field of the type Insight Referenced Object (multiple) that connects Insight Objects referenced from another Insight Custom Field.

  • Accessing a field of Insight Referenced Object (multiple): You can access a custom field of the Insight Referenced Object (multiple) type using any of the following getters of the Issue interface: