It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Erik Husby Sep 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 [Innovalog] Sep 22, 2013

Unfortunately, you've uncovered a bug in JMWE:

It will be fixed in the next release (3.1.2)

Sorry about that.


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar invitation: Generate custom Jira Cloud PDF reports and exports

Jira may be a staple part of your workday, but your colleagues, customers, business partners or an auditor might need information presented in a different format, that is easy to access and read. And...

59 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you