Versions Compared

Key

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

How to guide on how to create alarm issues from Nodinite.

...

Step 2. Setup

...

Integration to create the issues

  • Click create and select a Group called Nodinite
  • Click create and select an Iteration called Nodinite - Iterate monitors
  • Set Json Path to array: $.MonitorViews

...

  • Next is to add the the Action that creates the issues
  • Click create and select Action
  • Choose template category Jira Core
  • Choose template Create Issue
  • Click Create
    Structure should look like this
  • Make sure the action has Auto-generate 1st level as variables from parent response selected
  • Select the credential
  • Modify this body to fit your instance

    Code Block
    languagejs
    {
        "fields": {
            "project": {
                "key": "ITSUP"
            },
            "summary": "Monitor: {{Name}}",
            "issuetype": {
                "name": "Task"
            },
            "description":"{{Description}} has Status {{StatusCode.Name}} for resources:  {{#ChangedResources}} * {{Name}}{{/ChangedResources}}",
            "reporter": {
                "name": "kg"
            },
            "labels": [
                "nodinite",
                "alarm"
            ]
        }
    }


...