How to set multiple labels using "Set Field Value to constant or Groovy expression Function"

Erik Husby September 19, 2013

I can set a single label using the raw value. However, I want to set multiple labels. I've tried using the groovy expression

['Label1','Label2'] as String[]

But that does nothing.

I see this in the log file

/secure/QuickCreateIssue.jspa [jmwe.plugins.functions.SetFieldValueFunction] Error while executing SetFieldValueFunction: java.lang.UnsupportedOperationException: Wrong value type for setting 'Labels'

1 answer

1 accepted

0 votes
Answer accepted
David _old account_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2013

Unfortunately, you've uncovered a bug in JMWE: https://innovalog.atlassian.net/browse/JMWE-191

It will be fixed in the next release (3.1.2)

Sorry about that.

David.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events