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,359,774
Community Members
 
Community Events
168
Community Groups

Automatically create insight object based on data from issue

Hello,

is there any way to automatically create an object in insight when changing the state of the issue?

Use case:

  1. The issue with custom fields is created
  2. Adding information to the issue by users
  3. Issue is approved
  4. The object is automatically created on approval

The data in the fields in the insight object should be transferred from the fields of the given issue.

For example (fields on the issue):

  • Name of application: AppName
  • Price: 100eur
  • Vendor: VendorName
  • From: 9.8.2022
  • To: 9.8.2023

An object created after approval:

  • id = ${Name Of appliocation}
  • Price = ${Price}
  • Vendor = ${Vendor}
  • Valid from: ${From}
  • Valid to: ${To}

 

Is this possible without an additional application?

If not, can this be implemented using Scriptrunner?

1 answer

1 accepted

1 vote
Answer accepted
Derek Fields Community Leader Aug 09, 2022

There is an Insight Post-Function called "Create an Insight Object from a Jira Issue". You indicate the Schema and the Object Type that you are creating and then the issue fields that map to the attributes in the Insight Object

2022-08-09_10-14-10.png

Thanks for the quick reply, it works.

Is there also available for Jira cloud as I don't have this Insight post-function.
Thank you for your help

Suggest an answer

Log in or Sign up to answer