I'm trying to create a script to run as as post-function and I'm a bit fuzzy on the Jira Cloud REST API. Is there something that exists in the API that allows me to get the value of an issue's custom field?
I know the custom field ID, and Scriptrunner has as its context, the issue ID (I believe). I just need to find how to extract the value for specific custom fields.
Thanks in advance!