Standard JIRA fields

Cloud Migration Resources

Planning a Jira Cloud migration? These resources can help you get started:

JMWE Cloud features – Review Cloud features and understand key differences between DC and Cloud.
Migration support from Appfire – Learn how we can help you migrate smoothly.

Standard JIRA fields

This page explains how to access the value of Standard Jira fields using Groovy. You can access them using getters of the Issue interface. To understand how to write values into the writable Standard Jira fields see Raw value/text input for fields and Groovy expression input for fields.

In this page:

Affects Version/s

  • Field Name: Affects Version/s

  • Field ID: versions

  • Description: The Affects Version/s field is a collection of version objects. Each object represents a single version.

  • Accessing the Affects Version/s field: You can access the Affects Version/s field using any of the following getters of the Issue interface:



Assignee

  • Field name: Assignee

  • Field ID: assignee

  • Description: The Assignee field is an object that represents the user who this issue is assigned to.

  • Accessing the Assignee field: You can access the Assigneefield using any of the following getters of the Issue interface:



Attachments

  • Field name: Attachments

  • Field ID: attachment

  • Description: Attachment is a collection of objects. Each object represents a single attachment.

  • Accessing the Attachments field: You can access the Attachments field using any of the following getters of the Issue interface:

    • get("attachment") or get("Attachments") that returns a Collection<Attachment>

      • Example: Size of the last attachment added to the issue:

        issue.get("attachment")?.last()?.getFilesize()
    • getAsString("Attachments") or getAsString("attachment") that returns the comma-separated names of the attachments:

      • Example: Names of the attachments

        issue.getAsString("attachment")


    • getAttachments() that returns a Collection<Attachment>

      • Example: Name of the Author of the first attachment:

        if(issue.getAttachments() && issue.getAttachments().size() > 0)
        {
          issue.getAttachments().first().getAuthorObject()?.getName()
        }

Comments

  • Field name: Comment

  • Field ID: comment

  • Description: The Comments field is a collection of objects. Each object represents one comment.

  • Accessing the Comments field: You can access the Comments field using any of the following getters of the Issue interface:

    • get("comment") or get("Comments") that returns a List<Comment>

      • Example: Number of comments on the issue:

        issue.get("comment").size()
      • Example: Last Comment body:

        if(issue.get("comment"))
        {
          issue.get("comment").last().getBody()
        }
      • Example: Name of the author of the first comment on the issue:

        if(issue.get("comment"))
        {
          issue.get("comment").first().getAuthorFullName()
        }
    • getAsString("Comments") or getAsString("comment") that returns a String with comma separated bodies of the comments:

      • Example: All the comments on the issue separated by a comma:

        issue.getAsString("comment")



Component/s

Created

  • Field name: Created

  • Field ID: created

  • Description: The Created field is a Timestamp that represents the date-time of issue creation.

  • Accessing the Created field: You can access the Created field using any of the following getters of the Issue interface:

To manipulate the date see here

Creator

  • Field name: Creator

  • Field ID: creator

  • Description: The Creator field is an object that represents the user who created this issue.

  • Accessing the Creator field: You can access the Creator field using any of the following getters of the Issue interface:

Description

  • Field name: Description

  • Field ID: description

  • Description: The Description field is a string representation of a multi-line text describing the issue.

  • Accessing the Description field: You can access the Description field using any of the following getters of the Issue interface:



Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.