Forums

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

Automation - Add Internal Comment In transition

Steeve P_
Contributor
March 6, 2025

Hi everyone,

 

Trying to create an automation rule ...that so far give me few headache ...for not so much

 

The automation need to go through a transition, for which I have the comment field mandatory.

After few search , I found that adding the comment Before or After the transition in Automation wouldn't be possible, as it need to be updated at the same time.

 

So far... everything is correct

 

But when I try to add the comment by using

 

Additional fields Json , I'm never able to get an "Internal Comment"

Whatever properties or value used, comment is always public?

Did try simply with "public" : false

Either with Visibility / Identifier / Type / Value.

Would hope that if automation is able to put internal comment by itself, it should be something possible using this Json ?!

 

Regards

 

2 answers

1 accepted

0 votes
Answer accepted
Steeve P_
Contributor
March 13, 2025

Found the solution

 

Was all about the properties key

 

{
"update": {
"comment": [
{
"add": {
"body": "This is an internal comment",
"properties": [
{
"key": "sd.public.comment",
"value": {
"internal": true
}
}
]
}
}
]
}
}

 

 

0 votes
Marc - Devoteam
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 6, 2025

Hi @Steeve P_ 

What are you trying to accomplish, an automated transition done by an automation rule.

But there is a mandatory comment required on the transition.

Is my understanding correct?

 

Steeve P_
Contributor
March 6, 2025

Hi @Marc - Devoteam 

You're correct ,

So far I can reach every step ...everything work...except the comment that i want to be internal and not public.

Here is the screenshot of the actual Automation "Working"

 

internalCom.JPG

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events