Forums

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

Checkbox field - Separate values to new row in comment

Jacob Pines
Contributor
June 15, 2022

Hi,

When we pass a Checkbox field value to a comment (Automation), it enters all the values in 1 row, separated by coma: Value1,Value2,Value3,etc

We want to add the Field value, but have each Value on different row:

Value1
Value2
Value3
etc...

Is there any way to do that?

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Igor Dugalic
Contributor
June 15, 2022

This should work:

{{#issue.test}}{{.}}{{^last}}

{{/}}{{/}}

 

Where "test" is the name of your custom field. It will order it in the way it is set on the filed, not in the order you clicked each checkbox.

Jacob Pines
Contributor
June 18, 2022

Thanks for your reply.

I tried this.

Instead of - Value1,Value2,Value3... ,

I get - Value1Value2Value3

 

This is what I used in the Automation Comment -

{{#issue.customfield_10377}}{{.}}{{^last}}
{{/}}{{/}}

Igor Dugalic
Contributor
June 19, 2022

Sorry, when I copied the automation the empty line got deleted...

 

There is an empty line missing in the automation. It should be:

{{#issue.customfield_10377}}{{.}}{{^last}}

 

{{/}}{{/}}

Like Jacob Pines likes this
Jacob Pines
Contributor
June 19, 2022

Thanks.

That solved it for me :)

Like Igor Dugalic likes this

Suggest an answer

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

Atlassian Community Events