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.
Hey Noga, how did you manage copy the Team field from another field?
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.
Hello @Noga Shemer,
I have similar requirement where I have two fields first is Scrum Team and second is Team (Jira System Field). I want to update Team fields when Scrum Team field is updated and vice versa. Both field is having same dropdown values.
Any help is highly appreciated?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found a way to achieve what the OP is looking for: https://community.atlassian.com/t5/Jira-Software-questions/Teams-option-unable-to-edit-using-automation/qaq-p/2197615#M291300
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.
@shruti.pradhan or @Sanjay Santhoshkumar
Do either of you have a screenshot of your rule? I am still having trouble building something similar to this and would love to see what your rule looks like
TIA!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Me too, that XML trick is a total game changer. Thanks for sharing.
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.