Hi All,
I need to compare 2 custom field values
Field 1 is a multi select list field containing name of users in a string format.
Field 2 is derived from below script( which is the display name of the logged in user in jira)
def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
String currUserFullName = currentUser.getDisplayName();
log.error("User: $currUserFullName")
Now I need to compare above value to all the values in the multiselect field value. Is it possible?
I started building a script but not able to complete it , please assist:
Summary: Current logged in user needs to be compared to Field 1( multi select) selection