The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Copy value from custom checkbox field to summary

Drishti Maharaj
Contributor
September 4, 2024

Hi,

We have a checkbox field and I was wondering if it is possible to copy the values from there to the summary field?

I had thought to use this when setting the value in the automation

{{issue."Additional Items Required".value}} but it does not add the picked value to the summary.

It is just blank.

I am not too sure if it would be possible as it is a checkbox field? Would it need to be another type of field perhaps?

Thanks.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Deleted user
September 4, 2024

Hi Drishti!

For checkbox fields, Jira stores the selected options as a list, so you’ll need to convert those values into something usable in the summary. Here’s how to make it work:

Try using this in your automation:

{{#issue."Additional Items Required".value}} {{.}} {{/}}

This loops through each checked option and adds it to the summary. If that doesn't work, you might need to try a text or multi-select field instead, as checkbox fields can be tricky with automation.

Give that a try and see if it adds the values! 😊

Drishti Maharaj
Contributor
September 5, 2024

Hi @[deleted] , that does not seem to work 😅 thank you for trying though. It might be because of it being a checkbox field. I will try with a multi-select field and see if I have better luck with that one.

Like Deleted user likes this
Drishti Maharaj
Contributor
September 5, 2024

Multi-select works 😂 so I think I might stick to that option instead.

Dick
Community Champion
September 5, 2024

Hi Drishti and Javier,
I believe the smart value given by Javier shouldn't have the double quotes: 

{{#issue.Additional Items Required.value}} {{.}} {{/}}

similar to {{issue. Story point estimate}} on the smart values page by Atlassian.

Like Deleted user likes this
1 vote
Duc Thang TRAN
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 Champions.
September 5, 2024

Hello @Drishti Maharaj 

If your field is Additional Items Required, for me the smart value  is 

{{issue.Additional Items Required}}

if this checkboxe field have more than 1 value , that will show value1, value 2, etcc in summary 

 

Hope this can help 

Drishti Maharaj
Contributor
September 5, 2024

Hi @Duc Thang TRAN  - I did try that but I think like how @[deleted]  mentioned, the checkbox was causing an issue and I was not able to get the values to pull through using that type of field. When I changed the field and used a multi-select field, that seemed to have worked.

Duc Thang TRAN
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 Champions.
September 5, 2024

Hello @Drishti Maharaj 

It is strange, but this smart value for a checkbox field works for me.

I will note Javier's solution in case I encounter this issue 

 

Like Drishti Maharaj likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events