Versions Compared

Key

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

...

Expand
titleResponse example
Code Block
[
    {
        "fieldName": "Secure Number field",
        "fieldType": "SECURE_NUMBER",
        "globalConfigurationId": "64d25ee1ae45d1595276f16a",
        "textFieldValue": null,
        "numberFieldValue": 7654.0,
        "date": null,
        "permissions": {
            "EDIT": true,
            "VIEW": true,
            "HISTORY": true
        },
        "required": false
    }
]

Code BlockPOST​/integration​/app​/rest​/api​/v1​/secure-field​/value​/{issueId}

where issueId is the id of the issue.

Endpoint updates all Secure field values for the given issue. Only users with WRITE permission can update values. GlobalConfiguration Id

GlobalConfigurationId of the Secure field is required and can be obtained by using a GET endpoint described above.

Expand
titleParameters

issueId - id of the issue.

Expand
titleRequest body

Fields with value are mapped to:

textFieldValue - Secure Text Single Line, Secure Text Multi Line

numericFieldValue - Secure Number

dateFieldValue - Secure Date

dateTimeFieldValue - Secure Date Time.

Request body example:

Code Block
languagejson
[
  {
    "globalConfigurationId": "globalConfigurationId",
    "textFieldValue": "text",
    "numberFieldValue": 500,
    "dateFieldValue": "2020-01-08",
    "dateTimeFieldValue": "2020-01-08 17:09:42"
  }
]

Code Block
GET​/integration​/app​/rest​/api​/v1​/secure-field​/history​/{issueId}

...