Forums

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

Smart Values of multi-checkboxes field in automation.

ali May 21, 2024

Hi everyone,

I am creating an automation to pass some fields down from JIRA ticekt A to JIRA Ticket B.

The Automation was when Ticket A created, if condition passed, it will create a new Ticket B, and will pass some fields from Ticket A to Ticket B.

Both using the same Fields.

I am having issue with 1 field, which is a multi-checkbox field type.
The Automation Audit Log shows success.
However, the multi-checkbox field wasn't passed from Ticket A to Ticket B.
No matter what option was checked in Ticket A, the corresponding field in Ticket B will just shows None.

I found the customfield_# of that field from JSON view.
I used {{triggerIssue.customfield_#}} to pass fields from Ticket A to Ticket B,
All fields seems working except 1, which is a multi-checkbox field.

I tested to put the same {{triggerIssue.customfield_#}} in the Description Field, which shows all the checkbox options that were being checked, and separated by commas

So, the field ID was correct, but just not passed to the corresponding fields that was actually using the same Field as in Ticket A.,

Anyone has any idea what might be wrong?

Thanks a lot,

2 answers

1 accepted

0 votes
Answer accepted
Kalyan Sattaluri
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.
May 21, 2024

Hello @ali 

Can you share screenshot of your rule.

Unless you are doing complex things in your rule, You can, in your Edit Issue screen, select this field and. .when you click the 3 dots by the ellipsis (highlighted yellow), you can choose to copy from Trigger issue. Like below:

As said, sometimes you may have to do this using Advanced Edit but depends on the use case so please share your rule so we can help. Thanks!

image.png

 

ali May 21, 2024

Thanks for your response @Kalyan Sattaluri 

Here is my Automation started.
image.png

Then in the "Create a new"

image.png

As you can see the 3 dots doesn't have the options as in your screenshot.

I checked in JSON view of the Trigger ticket, the customfield_# is correct, and when I put that in Descriptions,
image.png

Then the selected options will be showing in the Ticket B's description separated by commas.

Thanks a lot,

 

Kalyan Sattaluri
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.
May 21, 2024

Hello @ali 

Once you select "Copy", it will open up options in the main screen and you need to choose "Issue to copy value from" = Trigger Issue and, "Field to Copy" = your checkbox field..

ali May 21, 2024

Thank you very much @Kalyan Sattaluri 

Your suggestion solved my issue again.

Thanks a lot and have a great day.

Like Kalyan Sattaluri likes this
0 votes
ali May 21, 2024

What I was trying to do is get that Multi-Checkboxes field copied from Ticket A to Ticket B with the option selections too.
My current workaround is the options checked was printed to Description Field in Ticket B, and we manually place the check mark on those options in Ticket B.

I would like to get it done in the automation.

Thanks a lot,

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