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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

141 views 1 17
Join discussion

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