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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.