Internal Notes Restriction Feature No Longer Passes {{comment.internal}} Condition

Michaela Nelson January 2, 2025

When I use the new Internal Notes Restriction feature, my automations no longer think the comment passes {{comment.internal}}.

I use "{{comment.internal}} equals False" to limit my automations to run only on Public Comments. Use of the new feature breaks this.

Why do restricted Internal Notes not meet the criteria of {{comment.internal}}?

Screenshot 2025-01-02 at 11.43.46 AM.pngScreenshot 2025-01-02 at 11.46.35 AM.pngScreenshot 2025-01-02 at 11.46.56 AM.png

2 answers

1 accepted

1 vote
Answer accepted
Michaela Nelson January 3, 2025

Answer from Support:


Hi Michaela,

Hope you're having a nice day! Welcome to the Atlassian Support.

There was a bug related to that a few months ago, you can check here:

AUTO-1516

Also in the comments, it was shared that it was moved to the below Feature Request:

AUTO-476

This is the expected behavior, because a normal internal comment is visible to all Agents in the project, and a comment restricted per role/group is not, so it is expected that it will not trigger the rule, otherwise, depending on what the rule is doing that could compromise the reason of why the comment visibility was changed.

There is a workaround for that which would be by changing the actor for the rule to the use who triggered the rule, this way, the user will need access to the group/role of the selected visibility, and the rule would be able to proceed with the changes on behalf of that user.

There is also the smart value {{comment.visibility.value{}}} that will return empty when the comment is either public or global internal note, or in case the comment visibility is changed, it will return the group/role selected.

Let me know if this was helpful, and if you have any other queries!

Kind Regards,
Bruno Moreira

0 votes
Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 2, 2025

Hi @Michaela Nelson welcome to the community!  I was testing this to see if I could replicate the behavior, and when I'm adding the value in my instance, I'm getting an option to copy and paste {issue.comments.internal}, not {comment.internal].  It'll let me hover over the suggestion and copy it to the clipboard.  I then pasted it into my Automation step. Can you possibly try that to see if it makes a different in your Automation?  

Screenshot 2025-01-02 124619.pngHope that helps.

Michaela Nelson January 2, 2025

Hey, you nailed it!! Thank you so much for your help, that was really going to be a pain. 

Michaela Nelson January 2, 2025

Ah shoot, no: Using issue.comments.internal, now the Public comments don't pass the condition either.

Michaela Nelson January 2, 2025

Screenshot 2025-01-02 at 3.30.14 PM.pngScreenshot 2025-01-02 at 3.29.59 PM.png

Nadhila Savira
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 3, 2025

Hi Michaela,

That looks quite weird. There's not been any other reports of this functionality failing, and I just tested it myself. Both smart values in this thread is valid and should work.

Can you please submit a ticket for this issue? We'd love to investigate it more closely.

Michaela Nelson January 3, 2025

Thanks, Nadhila! Ticket submitted.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events