Get internal comment in Jira Service Desk

Borlas Team July 17, 2019

Hi Theme!

I try to get an internal comment in issue in SD project. And I use SIL to get it. What function in SIL can make it?

1 answer

0 votes
Alexey Matveev
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 17, 2019

Hello,

Use a usual function to get a comment. Pubic or Internal it is just a property of a comment. If you want to see if a comment is public or internal then use this method:

https://confluence.cprime.io/display/JJUPIN/isPublicJSDComment

Borlas Team July 17, 2019

Имеешь ввиду, что эта функция возвращает свойства последнего комментария?

Alexey Matveev
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 17, 2019

Нет, эта функция возвращает свойство любого комментария. В эту функцию передается id коммента. В примере просто взяли последний коммент

Borlas Team July 17, 2019

Имелось в виду использование доп. функции getLastComment. Но это не влияет на ответ.

Благодарю за помощь!

Suggest an answer

Log in or Sign up to answer