Behaviours + insight set field value

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

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
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,423 views 21 17
View question

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you