We are looking to automate team field population based on a custom field (group picker) value. We will eventually be retiring the custom field, but we need to sync the two values until integrated systems have the chance to make their changes.
Here is the use case:
We were able to update the Primary Team with the change in Atlassian Team is updated via Automation, but not vice versa.
Any suggestions here? TIA!!!!!
I believe an advanced edit with JSON is needed to set the Team field in a rule. Have you tried that yet?
Kind regards,
Bill
I have not. Thanks for the tip. Can I trouble you for a link to some documentation to get me started?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My bad; I should have put that in there with the first post!
Here is the full doc for JSON edits in rules: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/
And, you likely will need the custom field ID for your Team field, which you can find using this how-to: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Finally, that will look like this in the rule:
{
"fields": {
"customfield_12345": {
"id": "789abc123"
}
}
}
Where customfield_12345 is the ID for your field and 789abc123 is the ID of the team you want to use. If copying from the other field, use that field's value in place of 789abc123.
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.
Hi @Bill Sheboy I tried using the advanced edit to populate a Managed Team based on the value of the group picker field. Thus far I have not been successful.
I'm suspecting that the only thing I could find to pass is the group name, and Managed Team names are not unique.
Thoughts?
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.