Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Look up the insight key using the JIRA A insight value 

    /rest/insight/1.0/iql/objects

  2. Create an issue in JIRA B with the looked up key as customfield value
  3. Set the reference of the created key from JIRA B in JIRA A



Widget Connector
urlhttps://www.youtube.com/watch?v=7ZGYwknzTd0



References, creating / updating issues with insight data using REST

https://documentation.mindville.com/insight/5.0/insight-for-developers/insight-with-jira-rest-api

Get object information

Code Block
languagejs
{
    "fields": {
        "customfield_10030": [{"key": "MYKEY-123"}]
    }
}

See the groovy examples to learn how to extract the key from custom field values

Groovy sample scripts