Forums

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

Last comment in a report

Maro Hamamjyan
Contributor
March 12, 2019

Hello,

Is it possible to get the last comment in a report or in a gadget without any additional plugin? If no, then what plugin should be installed?

 

Thanks

1 answer

1 vote
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.
March 12, 2019

Hello,

If you are on Server or Data Center, you could use an add-on such as Power Custom Fields Premium or ScriptRunner.

With these plugins you can create your own custom field, which would return the value of the last comment.

If you want to use the Power Custom Fields Premium add-on, then the code for the custom field would look like this:

return getLastComment(key);

I believe you can not do it out of the box. 

Maro Hamamjyan
Contributor
March 12, 2019

Hi Alexey,

 

Thank you for you help. Can't I use the same add-on for this case and for this case: (https://community.atlassian.com/t5/Jira-questions/create-different-type-of-tickets-using-incoming-mail/qaq-p/1030154?utm_campaign=&utm_content=post&utm_medium=email&utm_source=atlcomm#M329902)? Which one has more functionality in your opinion, Script Runner or Power Scripts, which is better to install?

Thanks in advance

Suggest an answer

Log in or Sign up to answer