Forums

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

How to add (copy) values from checkbox to labels (update not set) using automation

Adam Dulberg
Contributor
January 30, 2023

On both Cloud and Server I'm running into the same issue.

I am trying to copy the values of a checkbox (multi-select) to labels whenever a field value is changed for that field called "Test Checkbox". This is not a set or fields operation since this custom field is on a transition screen and can be sent back and forth (thus adding distinct values through the transition). On any pass forward through the transition, I'd like to add any new value. Not remove any past values to labels.

I've attempted to use smart values for the 'values to add' by following the guidance I've seen in other posts here like using list.join. That does not seem to work in Cloud and I'm unable to replicate it in Server.

I'm left with the additional fields Json response which I think is the right move, but am unable to figure out how to add any number of checkbox values at the same time (adding to the current labels array). Could someone help me understand the adjustment I need to make? (Been consulting this doc)

Screenshot 2023-01-30 181202.png

 

 

2 answers

1 accepted

0 votes
Answer accepted
Matthew Hays
April 19, 2012

I ended up making a confluence page, using the HTML and CSS plugins from Adaptavist and showing that in the JIRA dashboard. Works like a champ!

0 votes
Matthew Hays
April 19, 2012

I found this: http://forums.atlassian.com/thread.jspa?threadID=55099

Looks like a problem with the content being too long.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events