You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Is there any way using native automation to copy from a select list to a custom label list?
We have a select list "Customer Select", which restricts the set of items, but we need to copy whatever is set there to a "Label" field we created years ago called "Customer" which allows us to add multiple customers to a single issue.
Want to avoid using script runner if possible.
You can use an automation rule like the below to copy the value from "Select List Custom Field" to a label type custom field:
Thanks, I’ll try that. I didnt know you could use “smart” fields in the automation rules outside the json section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Benjamin Peikes
You should definitely look at using smart values for automation in this way. This can be used for a lot of other things too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only problem I run into is that label doesn't support values with spaces...
So this will only work for fields that have no spaces in the values...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe you can do that with advanced field edits with JSON. Please take a look at the examples in this documentation to try to match up with your field types for the edit:
https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! I looked at this, and it does look like we can add a custom label field, but its not clear how to reference the select field.
For example if the select field is called “Customer Select”, how do you reference it?
I think our json would look something like
{
"update": {
"Customer": [
{
"add": {{issue.customerSelect.value}}
}
]
}
}
But I’m not sure how you reference single select value, and not sure how to reference field names with spaces in them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please see the example from @Deepanshu Natani as that is much simpler than trying this with the JSON edits. Thanks!
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.