Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Webhook example

Action name - Create an issue

Worked with rules - Find content

Action type - Webhook

Url - https://mylovelyapp.atlassian.net/rest/api/3/issue

Headers:

{
   "Accept":"application/json",
   "Content-Type":"application/json",
   "Authorization":"Basic sometoken"
}

Body:

{
   "update":{
      
   },
   "fields":{
      "summary":"fix problem",
      "issuetype":{
         "id":"10000"
      },
      "project":{
         "id":"10000"
      },
      "description":{
         "type":"doc",
         "version":1,
         "content":[
            {
               "type":"paragraph",
               "content":[
                  {
                     "text":"Order entry fails when selecting supplier.",
                     "type":"text"
                  }
               ]
            }
         ]
      },
      "reporter":{
         "id":"5dd5022db3a9c80fc0a328af"
      }
   }
}

  • No labels