Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA API issue in JIRA 8.13.0

PIYALI SIKDAR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 29, 2021

We are getting below error while trying to create issue in JIRA. Please help.

28/05/2021 08:13:42: Calling API : https://xyz/api/prc/package/xml/byTopic/RULES2024/Incorporated/No/GUID-250CDA42-D961-4375-B08B-E09F514011FD/

28/05/2021 08:13:43: Exception in ABSPRCPublishUtil Process

28/05/2021 08:13:43: System.Exception: API status code >> (InternalServerError). Content: System.Exception: This method requires a JIRA instance with a SQL database. Additional exception information: Category not found.

   at Oberon.JiraAPI.JiraClient.GetIssueAttachmentsByCategory(String projectId, String issueId, String category, Boolean getContents) in e:\builds\trunk\2016ABSCompilePRCWebApp\Common Projects\Oberon.JiraAPI\JiraClient.cs:line 412

   at Oberon.JiraAPI.JiraClient.GetPRCs(String projectKey, List`1 reviewCommittees, String isCorrigenda, String dispositionType, String publicationGUID, String topicGUID, Int32 maxCommentLevel, Int32 limit, Int32 maxResults) in e:\builds\trunk\2016ABSCompilePRCWebApp\Common Projects\Oberon.JiraAPI\JiraClient.cs:line 1101

   at Oberon.PRCPackage.PRCPublishingPackage.CreatePRCPackage(String reviewPeriod, String[] committeeNames, String isCorrigenda, String dispositionType, String publicationGUID, String topicGUID, PRCPackageType packageType, Int32 maxCommentLevel) in e:\builds\trunk\2016ABSCompilePRCWebApp\Common Projects\Oberon.PRCPackage\PRCPublishingPackage.cs:line 77

   at Oberon.Controllers.PRCPackageController.CreateTopicLevelPackage(String reviewPeriod, String dispositionType, String isCorrigenda, String topicGUID, String[] committeename, Int32 maxCommentsLevel, String tofile) in e:\builds\trunk\2016ABSCompilePRCWebApp\PRC Web API\WebApplication\Controllers\PRCPackageController.cs:line 357. Reason: Internal Server Error

   at ABSPRCPublishUtil.Program.CheckAPIResult(HttpStatusCode statusCode, String errMsg)

   at ABSPRCPublishUtil.Program.ProcessPRC()

   at ABSPRCPublishUtil.Program.Main(String[] args)

28/05/2021 08:13:43: Complete ABSPRCPublishUtil Process

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2021

The error you are getting here is being thrown by your code, not the Jira system you are connecting to.

You'll need to have a look at whatever docs you have for Oberon.JiraAPI.JiraClient that you're basing your code on, that should explain what's going wrong in your code (although, at a guess, it seems to be telling us your code is trying to connect to a Jira that is set up with an unsupported configuration)

Suggest an answer

Log in or Sign up to answer