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,552,589
Community Members
 
Community Events
184
Community Groups

Can i create a Scriptrunner Script Field in which the value from an attribute of an Insight Object?

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 30, 2021

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

3 answers

1 vote
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 30, 2021
0 votes
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 30, 2021

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

Hi @Marco Brundel 

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 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events