Forums

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

Is there a way to create a report that pulls the comment added when an issue is flagged?

Dusty Kirby
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2023

I am looking to create an automated report that will pull the reason that an issue was flagged so that they are more easily visible to stakeholders for our project. Currently we do have a JQL line that pulls all flagged issues into a report, however the current ask was to get essentially a list of the reasons given for the flag displayed to better show what has happened in addition to identifying recurring problems.

1 answer

0 votes
Florian Bonniec
Community Champion
July 17, 2023

Hi @Dusty Kirby 

 

There is no property added to the comment from my knowledge to get this information. JQL return issue not comment you cannot do more then getting the flag issues like you did.

 

You could create a scriptfield using scriptrunner if you have this app that would happen all comment that has been created from the Flag action. But like I said tehre is no property to get them so you will have to parse and only return comment that have the text (flag) 

Flag added .
You could then export the issues return with the script field selected as column to export.
Regards
Dusty Kirby
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2023

Thank you for your response Florian! I will take this information and see what I can do by running with this.

Suggest an answer

Log in or Sign up to answer