Hi Team,
My code is working in the cloud environment.
Actually, "Share with Customer" & Internal Comments to be separated and to be mapped with Additional Comments & worknotes in SNOW.
Please Help.
My Code working in Cloud environment.
PFB :
var isComment = issueJson.fields.comment.comments[issueJson.fields.comment.comments.length - 1].jsdPublic;
var comm = issueJson.fields.comment.comments[issueJson.fields.comment.comments.length - 1].body.content[0].content[0].text.toString();
if (grInc.comments.getJournalEntry(-1).toString().split('\n')[1].trim() != comm && isComment)
grInc.comments = comm; //(External Comments Mapping)
else if (grInc.work_notes.getJournalEntry(-1).toString().split('\n')[1].trim() != comm && !isComment) {
grInc.work_notes = comm; //(Internal comments Mapping)
Please help on this and do needful favour..
Thanks
SRI
Hello @sriharsha m
In Jira Service Management, the APIs can help us to post the comments specific to customers or keep those internal.
The tag of this is 'public' which is boolean and can be set as either 'true' or 'false' which will comment is shared with the customer or otherwise.
The API documentation from Atlassian is available here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.