I understand that, in a Workflow scriptrunner post function, the issue object is available.
Can someone point me to the location of the documentation that lists all of the issue members and how to access them? (ie how to set a custom date field).
Specifically, I need to know :
For example, to findd a custom field value, I see two approaches:
def customFieldId = fields.find { it.name == 'Flight End' }.id as String
def customFieldValue = (issue.fields[customFieldId] as Map)?.value
and
def inputFlightEndId = customFields.find { it.name == 'Flight End' }?.id
def input1 = issue.fields[inputFlightEndId]
Which is correct?
Thanks!
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.