Hi Team,
I am working on automating a runbook and need to export or generate the request in JSON format to use within a script. The goal is to standardize the request payload for consistent execution across environments.
Details:
Request: Please provide guidance or an example of the JSON structure needed to create the script for the runbook. If there are templates or documentation available, kindly share those as well.
Welcome to the community.
Are you just asking how to obtain the JSON payload associated to an issue (request) created in your JSM project?
If so - here is the REST API -
/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}/issue
can retrieve issues within a specific queue.The first one will provide you with all metadata associated with an issue in the JSON payload.
Here is the REST APIs doc - https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about
Hope this helps.
Best, Joseph Chung Yin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.