unable to get the data of 'Comments' field from jira to salesforce via Rest Api

  • 1
  • Question
  • Updated 2 years ago
Hi I am unable to get the data of 'Comments' field from jira to salesforce. I did this via REST Api. can some help on this its very urget
Photo of Pavan Kumar

Pavan Kumar

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Aidin Mahmoodi

Aidin Mahmoodi, Alum

  • 267 Posts
  • 6 Reply Likes
Hi Pavan,

Sorry for the late reply.

Can you please provide more context on this?

What is the version of your JIRA instance?
What is the version of the Connector plugins?
1) ServiceRocket Core Connector - Plugin
2) ServiceRocket JIRA Connector - Plugin
3) ServiceRocket Salesforce.com Connector Plugin - Plugin

How do you exactly use REST API for comments in JIRA? Connector itself has a functionality to fetch the comments on JIRA and show it in Salesforce.com

Cheers,
Aidin
Photo of Pavan Kumar

Pavan Kumar

  • 2 Posts
  • 0 Reply Likes
Thank u for ur reply

i'm not using any connectors.

right now i'm getting the json response for comment field but when i'm parsing that response to comment field its showing errors in both controller class and in visualforce page.below r the errors



controller error------------- Error: Compile Error: Initial term of field expression must be a concrete SObject: String at line 339 column 56



page  error--------------



Illegal value for primitive 

An unexpected error has occurred. Your solution provider has been notified. (System)