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.
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! 😊
Hi @Javier Martínez Caballero , 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Multi-select works 😂 so I think I might stick to that option instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Duc Thang TRAN - I did try that but I think like how @Javier Martínez Caballero 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.