Hello,
I know how to get the ID of a custom field. It is by this way :
def GIDField = customFieldManager.getCustomFieldObject(12905)
def GID = issue.getCustomFieldValue(GIDField) as String
but how can I access a standard field ID like 'description'? I tried it like this:
def MailField = customFieldManager.getCustomFieldObject('description')
def Mail = issue.getCustomFieldValue(MailField) as String
But this obviously did not lead to results, since it is not a custom field.
Thanks!
Hi @Sngy ,
Please use the following;
//Examples
String description = issue.getDescription()
String summary = issue.getSummary()
Also check this doc: https://docs.atlassian.com/software/jira/docs/api/latest/com/atlassian/jira/issue/Issue.html
Regards
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.