Cloud Skyline

Skyline Insights API – Creating a Ticket in JIRA

Earlier,  we have shown you how to send the Findings data to Slack.  Here is an example of how to send data over to JIRA.

Similar to previous examples,  here is how we can convert the Findings data

With the variables, we can now post it on JIRA.  In order to do that, we will need the desired JIRA information:

  • Project key (we are using “SKYLNE”)
  • IssueType id (we are using “3”)

The path of creating JIRA is always the same and it is:

https://jira.eng.vmware.com/rest/api/latest/issue/

To make it easier, we added the variables to the summary.  For JIRA, you can use a user account or token.  For this example, we have used a user account “nguyenso”. For production deployment, we would recommend using a token.  The result is the following:

If you inserted the correct “Project key” and “IssueType id”, the new ticket will appear in JIRA.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *