I've tried using Calulated Text and just get the value of this Group Field. However, what I'm getting is not the Group Field displayed value but the following :
I also tried copying it over to a Text Field but got the following
Is there a way to get the group name and be able to use substring function on it? For usernames, I use displayName and get the Full Name of the user.
It's definitely different for groups as using the same does not yield the desired result.
It can only work on the Group field (customfield_12345 in my example). What kind of field is your group field exactly?
If it's a multi-valued field, you can probably use (untested):
if (issue.get("customfield_12345")==null || issue.get("customfield_12345").size() == 0) return null; return issue.get("customfield_12345").iterator().next().getName()
If it doesn't work, look at atlassian-jira.log for syntax errors.
Alright! Thank you so much for the help David! Really appreciate it. :)
I'm trying this now but it's not giving me the EquivalentID
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG