Forum Discussion
Philip_Baird
11 years agoCommunity Expert
Hi Joshua, the error you are receiving appears to be that of an Exception returned by the JIRA Web Service.
A quick look at the Script Extension source shows Test Complete hard codes the Issue Type to 1, i.e. Bug:
remoteIssue.type = "1";//it's a bug
The error received indicates this Issue Type does not exist. To check for this, follow the following steps:
1. Log into JIRA in a Browser.
2. Open a new tab in the Browser and enter the following: URL http://jira/rest/api/2/issuetype/1
3. Press Enter, the Browser should display the following if the Issue Type exists
{"self":"http://jira/rest/api/2/issuetype/1","id":"1","description":"A problem which impairs or prevents the functions of the product.","iconUrl":"http://jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false}
or the following if it does not:
{"errorMessages":["The issue type with id '4444' does not exist"],"errors":{}}
To get all defined Issue Types, use this URL: http://jira/rest/api/2/issuetype
Regards,
Phil Baird
A quick look at the Script Extension source shows Test Complete hard codes the Issue Type to 1, i.e. Bug:
remoteIssue.type = "1";//it's a bug
The error received indicates this Issue Type does not exist. To check for this, follow the following steps:
1. Log into JIRA in a Browser.
2. Open a new tab in the Browser and enter the following: URL http://jira/rest/api/2/issuetype/1
3. Press Enter, the Browser should display the following if the Issue Type exists
{"self":"http://jira/rest/api/2/issuetype/1","id":"1","description":"A problem which impairs or prevents the functions of the product.","iconUrl":"http://jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false}
or the following if it does not:
{"errorMessages":["The issue type with id '4444' does not exist"],"errors":{}}
To get all defined Issue Types, use this URL: http://jira/rest/api/2/issuetype
Regards,
Phil Baird
Related Content
- 2 years ago
- 6 years ago
- 9 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 6 days ago