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,295,697
Community Members
 
Community Events
165
Community Groups

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

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

0 votes

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
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

307 views 0 9
Join discussion

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