JIRA integration: Passing Work notes as Comments

NehaSNOW
Tera Guru

Dear Members,

 

Requirement: - Sending Work notes as Comment via REST API to JIRA.

Implementation: - I have created the below Business rule which runs on Insert/Update of an Incident and also a REST API.

Issue: - Getting the error JIRA Comments: {"errorMessages":["There was an error parsing JSON. Check that your request body is valid."]} in the System Log. However, the Comment in the JIRA gets created when parameters are passed directly from the Outbound REST API Message.

Release: - Xanadu

Please suggest.

 

 

NehaSNOW_0-1737629267861.png

 

Outbound REST API Message: - https://<confidential>.atlassian.net/rest/api/3/issue/${correlation_id}/comment

NehaSNOW_1-1737629596167.png

 

Thanks,

Neha

 

12 REPLIES 12

Yes, this is on Incident table. How to contact you for this issue so that I can show the PDI?

@NehaSNOW 

if you are doing this in your PDI then you can share the details here by creating a new admin account.

Once done you can disable that admin account

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@NehaSNOW 

any update to this?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader