The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Kristian Walker _Adaptavist_
Community Champion
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