Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,455,271
Community Members
 
Community Events
175
Community Groups

Insight customfield not compatible with behaviours

Antoine Berry Community Leader Nov 28, 2017

Hi,

We are using behaviours to automatically set fields on issue creation, but it is not possible to update the value of an insight field. We tried with the key, name and value of the insight object, but with no success.

We are using the method formField.setFormValue(value).

Thanks for your feedback,

Antoine

1 answer

This may not be possible yet. Is the Insight custom field of type "Label"? I believe behaviours are still incompatible with labels.

https://community.atlassian.com/t5/Jira-Core-questions/Behaviours-insight-set-field-value/qaq-p/197420

Antoine Berry Community Leader Nov 28, 2017

I am not sure what "Labels" type means for an insight custom field. My field is a standard insight field. We cannot update it using the label of the object nevertheless.

Hi Antoine,

Apologies, I am not extremely familiar with 3rd party plugins.

From configuring the insight plugin myself in my Jira instance, I also cannot set the value on the FormField. Behaviours don't seem to be fully compatible with Insight custom fields, which is also something we see with nFeed custom fields as well.

Since behaviours don't seem like they'd work here, would a workflow post-function on the issue create step work for your use-case? 

Josh

Antoine Berry Community Leader Nov 28, 2017

I could make up the whole thing with text custom fields and an appropriate post function, but this is far from optimal.

The context is a servicedesk project, and we really need a bunch of auto-populated fields related to the contact/user behind the request.

Do you think this is an evolution worth considering ? I believe Insight is the most popular CMDB add-on out there.

Best regards,

Antoine

Antoine Berry Community Leader Nov 30, 2017

Hi, any feedback on this issue ?

Hi Anthony,

In your case, I would connect with Scriptrunner to add support for our custom field, as I think it should be possible. We're not using a label field so to say, not sure what they mean. What we store in the custom field is simply the object key for the object selected. So it should be possible for them to add support for the field.

If they need some information from us, we will provide that to help them with the implementation. 

Best Regards
Alexander

Antoine Berry Community Leader Dec 01, 2017

Joshua Yamdogo @ Adaptavist Do you think you could implement this feature quickly with the help of Insight support ? 

Thanks,

Antoine

@Antoine Berry

Could you post this question through our support portal? We'll investigate it further and if necessary we will open a new development issue for Insight compatibility if it does not already exist.

https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/server/support

Antoine Berry Community Leader Dec 05, 2017

Thanks Joshua, the issue has just been created. See https://productsupport.adaptavist.com/browse/SRJIRA-2563

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events