Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,381
Community Members
 
Community Events
165
Community Groups

Insight Post function assistance

Hello all!

I have a single line text field on my ticket. Sometimes it will contain one "item", other times it might contain multiple separated by a comma (I can change how the data is separated if needed). Using a Insight post-function I am attempting to have the item(s) in the single line text field populate a custom insight field. The post-function I am using is Assign Objects from an IQL query based on data from an issue. The IQL I have entered is as follows: objectType = MYINSIGHTOBJECT AND Name = {MYTEXTFIELD}

This works fine if there is just one item listed in my text field. If there are multiple items listed in the text field, then it doesn't work. I have tried changing my IQL to something like this: objectType = MYINSIGHTOBJECT AND Name IN (${MYTEXTFIELD${0}}), but I think that might be more for insight imports rather than IQL, but I could be wrong.

I am open to any ideas on how to either adjust my IQL in the post-function or how I need to have the data populate in the text field to make it select items. My custom insight field I am trying to populated with the post function is set to allow multiple selections.

 

Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

393 views 3 12
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