You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
Is it possible to create a Scriptrunner Script Field in which the value from an attribute of an Insight Object linked to an issue is displayed/copied?
If possible, I'd like some tips on what code I should use to determine the attribute value.
Regards, Marco
Take a look at these links, you will find some examples.
https://documentation.mindville.com/insight/5.0/insight-for-developers/groovy-script-examples
I hope it helps.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, I'd question why you think you need to extract and duplicate this information.
If you just want to easily view the information when viewing an issue, you can make sure the attribute is selected in the insight custom field as suggested by @Uday Kiran Bhaviri .
If you want to be able to find issues based on an attribute value in a linked object, I'd look into the jql function iqlFunction() (this is the cloud page, I can't find the server page but it works the same way).
If you need the data for reporting, then one of the link suggested by @Ravi Sagar _Sparxsys_ should help you. But you may also want to look into insightManager or this article I wrote
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also you can use the insight custom fields to select/show the object attributes in the Jira issue.
https://documentation.mindville.com/insight/5.0/insight-administrator-s-guide/insight-custom-fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.