Behaviours + insight set field value

javier fernandez July 25, 2016

Hi,

I want to populate data in one multiselect field using "behaviours" mapping from ScriptRunner.

 

The problem is:  its not an standar field, is one provided with Insight plugin so....

How can I set a value (insight value) into a  Insight FormField?

 

Thanks a lot for the help.

 

 

1 answer

0 votes
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2016

Hi Havier,

I have looked into this for you and the Multi Select List field of insight is of the type Labels as shown in the screenshot below.

Unfortunately the Behaviours add on from ScriptRunner does not support adding labels as it cannot access the LabelManagers class of the JIRA API.

I would suggest contacting Insight support to know if they know a way to programaticly set this field otherwise you may find the article here useful which describes how to add labels using a post function in a workflow as you may be able to modify this to suit your needs.

Thanks

Kristian

Suggest an answer

Log in or Sign up to answer