Forums

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

Filtering out Locked Comments JQL

Jacob Ludwigson
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!
January 10, 2023

We setup automation to notify changes on an Epic via Slack and it was working but the only issue was it was notifying slack for every comment even if it was locked.

It seems like the Syntax for 'Comment' only searches the comments not if its locked or not.

Anyone have an idea how to filter out comments that are locked using a JQL Query?

 

Screenshot 2023-01-10 at 11.35.05 AM.png

1 answer

1 vote
Mark Segall
Community Champion
January 10, 2023

Hi @Jacob Ludwigson and welcome to the community!

When you say "locked", are you referring to JSM and its ability to have public/private comments?  If so, you'd need to add an Advanced condition like this:

{{comment.internal}}
Not Equals
True

Jacob Ludwigson
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!
January 11, 2023

Thanks that's exactly what I'm looking for.

Unfortunately it looks like both public and private comments are returning "false" in {{comment.internal}} so it keeps failing.

Mark Segall
Community Champion
January 11, 2023

Interesting - It shouldn't matter, but can you try this?

{{comment.internal}}
Equals
False

It works for me in my test environment.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events