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.
Hi,
I am trying to define an automation rule as below
When a new Issue is created -> Edit issues to update 'Team'.
Problem: 'Team' is not available in the 'Available Fields' for 'Edit Issues'
Under jira custom field setup, it shows up as "Team (LOCKED)". Any help would be appreciated
Thanks,
Gowtam
I believe the only way to edit the Team field in automation is to use the More Options section of the Edit action, and use JSON code like this:
{
"fields": {
"Team": <value>
}
}
Is there a way to populate the Team field by copying the value of another configured custom field?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had to look for the <value> in a filter: once you create the <value> it gets a numeric identifier that can be found if you pick the <value> while using it in a regular filter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have two queries on your response @Trudy Claspill .
1. When I open JSON code to add the Team field, I can see the already written code and some other fields are also displaying with their values, like Labels. What shall I do with that? Shall I remove that code and add just mine? (** My project code is shared by many independent teams)
2. After updating the JSON code like -"Team": "DCA Squad", what should I do? Does it mean that, all the desired issues will be assigned the Team as "DCA Squad" after the automation rule runs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @011.avinash
Welcome to the Atlassian community.
1. Delete the default code that is added to the JSON field. It is provided as an example.
2. Without know the details of your Automation Rule, the only answer I can give you is that any issue for which the rule runs and progresses to the step where you have added the code should get its Team field set.
Having said that, I will point out that
"Team": "DCA Squad"
won't work. You need to use the numeric ID for the team, not the text name.
If you need additional help with your Automation Rule, please start a new Question in this community. It is considered a bad practice more questions to a post that already has an Accepted Answer and is over a year old.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Trudy Claspill . I will take care of your suggestions and will start a new question next time :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
3 steps that worked for me. Assuming you already have Team field enabled and few shared teams are created from plan section.
1. Need to find the custom field id of teams.
I manually created a issue and populated team value. After that I exported that issue in XML. You can do that by opening the issue and click the 3 dots at the right side. From XML I could find the custom field id as below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have been struggling to find solution for this . This comment was game changer for me
Many 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.
Thank you for the help @Trudy Claspill
I tried your suggestion as below but I received an error = "Team with ID 'XYZ' could not be found"
--
{
"fields": {
"Team": "XYZ"
}
}
---
The team name = 'XYZ' is one of the many shared team names created in the Advanced Roadmap. While I perform Issue update (single or bulk) I am able to see the values 'XYZ' as a dropdown but failed with automation. How can I get the ID of the shared team created in the advanced roadmap. Any clue please
Thanks & Regards,
Gowtam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to the Search Issues screen.
Start entering a search for a value in the Team field.
After you select the matching team, the filter will automatically update to show the team ID.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.