Hi,
I'm trying to put a name into the Team field. We are using Data Center v.9.13 and in the Jira Software Project the Team field is not in use. But I use it in my Plans (Advance Roadmap) where I have established a Team.
I want to automate, when a story is created (or pulled into the "In Work") automatically to add the team name, which I whant to use into my Plans project. So this Team Field is irrelevant for the Jira Software procjet, and I want to use it only in Plans.
I have tried the following:
{
"fields": {
"customfield_10201": "{{issue.team}}"
}
}
where "customfield_10201" I found it through the rest api. Also the Id is. 135:
But as a result in Plans I don't receive anything. I also created a Log Action: Team: {{issue.Team}}, and Team: {{issue.customfield_10201}}, but nothing is comming here.
If I put in the action:
{
"fields": {
"Team": "{{issue.team}}"
}
},
then I get this error:
"Additional fields contains invalid field(s) in 'update' or 'fields' section: Team"
Any tipps?
Hi @Dejan Velevski ,
We have this automation on cloud but it might be that same thing applies to DC (although I'm not sure about team IDs). Anyway, we're using advanced fields section within Edit work item fields action and the following JSON:
{
"fields": {
"customfield_10001":"123456-abcd-9876-efgh-5b021607a4b2"
}
}
where we basically navigate to the team profile and check the browser address bar to find the ID of a team. Again, I haven't properly checked the ways to get Team ID on DC. 🤔
Also, on the cloud, the Team field always has ID 10001.
I don't have an on-prem environment, so I couldn't test this out, but hopefully this might help (guide you in some direction) 👀
Cheers,
Tobi
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.