Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically create insight object based on data from issue

Sykora_ Petr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2022

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 (RightStar)
Community Champion
August 9, 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

Sykora_ Petr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 10, 2022

Thanks for the quick reply, it works.

Hofer, Johan August 18, 2022

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