Table of Contents | ||
---|---|---|
|
...
3.4 API details for mapping between Jira field options and Service now field options
Sr. No. | API Description | Request parameters | Endpoint details | Response format | Status | Remark | ||
---|---|---|---|---|---|---|---|---|
1 | List api to get the now fields(Add service now field type to this api) | NA | ||||||
2 | List api to get the options for each service now field of the type dropdown | fieldId - service now field id | ||||||
3 | List api to get list of all the mappings between Jira field options and service now field options | projectKey - key of the project issueType - issue type related to the project jiraFieldId - id of the Jira field serviceNowFieldId - id of the service now field | ||||||
4 | Create api to add mapping between the Jira field option and Service Now field option | projectKey - key of the project issueType - issue type related to the project jiraFieldId - id of the Jira field serviceNowFieldId - id of the service now field jiraOptionId - id of the Jira option pertaining to Jira field serviceNowOptionId - Id of the service now option pertaining to service now field | ||||||
5 | Delete api endpoint to delete data for the mapping between Jira field option and Service Now field option | projectKey - key of the project issueType - issue type related to the project jiraFieldId - id of the Jira field serviceNowFieldId - id of the service now field jiraOptionId - id of the Jira option pertaining to Jira field serviceNowOptionId - Id of the service now option pertaining to service now field | ||||||
6 | Get transition API | Issue Key | http://empyratestqa.eastus.cloudapp.azure.com/rest/api/2/issue/COSD-4/transitions | It gives all possible transaction for the issues | ||||
7 | Post transition API |
| http://empyratestqa.eastus.cloudapp.azure.com/rest/api/2/issue/COSD-4/transitions | It updates transaction. Reference to update other fields with transition https://docs.atlassian.com/software/jira/docs/api/REST/8.5.4/#api/2/issue-doTransition |