Forums

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

Working with Comments

Kevin.Flanagan
Contributor
March 10, 2022

I am trying to get the most recent comments form Epics, Issues and SubTasks.  I would like to export or create a custom field but I do not seem to be able to get comments showing on a page.  I  need a very simple explanation as to best way to do this with good directions not just a link that does not have detailed steps.

2 answers

0 votes
Sachin Dhamale
Community Champion
March 10, 2022

@Kevin_Flanagan ,

 

Unfortunately there is no way to export the comments separately. 

One thing you can do is write the automation rule which copy the comment to the custom field.

Trigger: Comment on issue

Action: update the custom field with comment value.

In this way recent comment will be updated to the custom field 

 

For existing issue

1. you can export issue with comment field in csv file

2. Remove the irrelevant information from the comment columns

3. import that file to update the custom field with the comment values

 

Accept the answer if it helps

Jack Brickey
Community Champion
March 10, 2022

Yep

0 votes
Jack Brickey
Community Champion
March 10, 2022

Hi @Kevin_Flanagan , so if I understand correctly you wish to be able to observe the latest comment and export that for some purpose, correct?

my initial thoughts on this based on what you have posted will indeed be to create a custom text field then use automation to copy the latest comment into that text field.

before I supply detailed instructions I want to make sure I'm on the right path here. Also please share your level of experience administering Jira projects. In other words do you know how to create custom fields and set up automation?

Kevin.Flanagan
Contributor
March 10, 2022

Yes.  We were wanting to export to a status report instead of having to click on issues etc. and copy and paste.  I am open to using a custom field if that can be exported easier.  I have 3 years with Jira and a former developer and working with JQL.  I am  new to cloud. I need details to help me because it has been 4 years since the last time

Jack Brickey
Community Champion
March 10, 2022

Ok so definitely would go with a custom field and automation. Given your experience I'm confident you can knock this out pretty easily.

  1. The first thing to do is create a custom build in your project. You can do that by going to Custom fields in the admin area, shortcut == gg, custom fields. Click on the add and choose multiline text. Give it whatever name you want, e.g. "Latest Comment". 
  2. You will be prompted to associate it to one more project screens. Just click the tick box for your screen scheme.
  3. Next you want to create a project automation rule that looks something like this:
    • trigger - comment added
    • condition - any specific condition where you want to ensure the action is or is not run
    • action - choose edit issue, choose your custom field and use the following in the set to box -- {{issue.comments.last}}

I believe this will get you there but I haven't tested for accuracy. ;-)

Kevin.Flanagan
Contributor
March 10, 2022

I'll try it out

Kevin.Flanagan
Contributor
March 10, 2022

Project Settings -? Issues -? Fields but n=do not see a way to add any fields

Suggest an answer

Log in or Sign up to answer