/
Update Insight Object on Issue change
Update Insight Object on Issue change
This is a tutorial shows how to update an Insight Object with name "Hello RINT" as the Custom field ID 10001 is our Insight Custom field, holding the current object.
You can add more issue data by simply using the {{issue.xyz}} Mustache Variables a notation to access the issue data.
App: https://marketplace.atlassian.com/apps/1212137/insight-asset-management?hosting=cloud&tab=overview
Steps
- Create a new Action by clicking CREATE button
- Enter a name: Create Insight Object and click CREATE
- Select Method: PUT and URL: <your_base_url>/rest/insight/1.0/object/{{issue.customfield_10001.id}}
From the Insight REST API we can read to create on an object we need to call PUT https://documentation.riada.io/display/INSSERV/Objects+-+REST - Select Authentication method: Basic Auth, specify a user that has permission to manage insight schemas
- Add request headers, key: Content-Type with value application/json
On the Body section add the following
{ "attributes": [{ "objectTypeAttributeId": 1, "objectAttributeValues": [{ "value": "Hello RINT!" }] }] }
- Click Triggers tab
- Select ISSUE CREATED event
- On JQL Condition. When to execute the event(s) write Project = TESTB and to limit the trigger to the TESTB project
- Click SAVE
- (Optional) Click Test button, Issue Key needs to be provided and click Send, Then go Log Tab.
, multiple selections available,
Related content
Mustache Variables
Mustache Variables
Read with this
Create an Object on transition
Create an Object on transition
More like this
How to create an issue with insight data
How to create an issue with insight data
More like this
Set JIRA approvers field from Insight Object attribute
Set JIRA approvers field from Insight Object attribute
More like this
Jira migration with Insight
Jira migration with Insight
More like this
How to send Insight custom field data
How to send Insight custom field data
More like this