How to update insight attribute type USER with a post Function?

Natalie Al-Delemi September 19, 2019

Managed to find the solution to it.. Using the post function script on insight documentation and then just re-defining newValue in the example with newValue.getUsername().

def newValue = issue.getCustomFieldValue(jiraCustomField);
def user = newValue.getUsername(); //to be used in attribute bean

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events