Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=httpPost+-+15489476 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | httpPost(url, request [[, proxy] [, postDataObject]]) | Package | http | Alias | | Pkg Usage | post(url, request [[, proxy] [, postDataObject]]) |
|
...
Part 1 - Setting Up
Using this routinefunction, you can create a new ticket in the specified project for instance based on certain conditions, and pass the information for the additional fields to be filled in for this ticket too.
The following example shows how to create a JSON object, transmit it to an external application, and receive data in response. The example simulates creating a user account on another system and receiving back the user ID.
This ID could then be stored in a custom field in Jira creating a reference.This section of code defines the structs that will ultimately determine the JSON structure. The JSON structure is typically defined by the external systems API.
...
Note |
---|
The request parameter should have the HttpRequest type described here. The HttpProxy type is described here. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "http_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|