Hi Folks,
This post function seems to be inconsistent for me with the value printed being either pre-screen or post-screen.
Any ideas on what could be happening and how i could fix?
def someFakeCustomFieldId = 'customfield_123456'
def issueWithScreenChanges = get("/rest/api/2/issue/${issue.id}")
.queryString("fields", someFakeCustomFieldId)
.asObject(Map)
.body
def newValue1 = issueWithScreenChanges.fields[someFakeCustomFieldId] as String
logger.info(newValue1)
def newValue2 = issue.fields[someFakeCustomFieldId] as String
logger.info(newValue2)