Gents, I hope I can pick your brains one more time:I would like to create a custom integration ...

  • 27 July 2020
  • 2 replies
  • 12 views

Badge

Gents, I hope I can pick your brains one more time:

I would like to create a custom integration from bettercloud to Jira Service desk to extend the current functionally. Trying to create a ticket within Jira. Using postman, I was able to successfully create it. this what Jira is expecting as payload.


End point: https://customer.atlassian.net/rest/api/3/issue
Basic Authorization
The body:
{"fields": {
        "summary": "Hello Jira World",
        "issuetype": {
            "id": "10001"
        },     
        "project": {
            "key": "project-key"
        },           
        "parent": {
            "key": "Project-key-###"
        },
        "description": {
            "type": "doc",
            "version": 1,
            "content": [
                {
                "type": "paragraph",
                "content": [
                    {
                    "text": "This is awesome! because this work from bettercloud",
                    "type": "text"
                    }
                ]
                }
            ]
        }
 }
 }


However, I don't know how to fill out the payload within BetterCloud. This will be an action available for a workflow and hopefully I can storage some information from the initial alert / action to be use within the payload.



🗨 Link to Slack thread

2 replies

Userlevel 2
Badge +2

Hey David, looks like you booked some time with us tomorrow. So we’ll go through this then!

Badge

Hey JB, it seems to that figure it out but I got couple additional questions. Thanks for the quick response as always.

Reply