Team,
I am having a text drop down option with all team names, my automation should copy that value and set as a value in Teams custom field (which was originated from advanced road maps) but it is throwing errors.
Added all the screen shots.
Thanks in advance.
I received the same error as the OP, then found a way to fix it: https://community.atlassian.com/t5/Jira-Software-questions/Teams-option-unable-to-edit-using-automation/qaq-p/2197615#M291300
There is a duplicate of this post here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you try to just use {{a}} ? Furthermore: Is there a special need for the ID? Haven‘t seen that before.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried both one as
{
"fields": {
"customfield_10001": { "name": "{{a}}" }
}
}
and one as
{
"fields": {
"customfield_10001": { "ID": "{{a}}" }
}
}
both results in same error
(The Team must be a string (customfield_10001))
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.
{
"fields": {
"customfield_10001": "{{a}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would even suggest to skip the step of creating a variable as this step is not needed.
As you are acting in the same issue you could always refer to the {{issue}} context.
In my screenshot:
So in your case try the following:
{
"fields": {
"customfield_10001": "{{issue.JA Team 2.value}}"
}
}
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the following article covering exactly this topic:
As it seems the field can only be set with the ID of the team (not the name). I have no idea how to get the teams ID via name (checked if there is an API but doesn´t seem to be sufficient):
https://docs.atlassian.com/portfolio-for-jira-server/REST/2.13.0/teams/
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is the same article link I posted in the duplicate question the OP put into the Jira Software Questions community. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
🤣🙈
ooouh....well...in this case I couldn‘t share any news I guess 🤷🏻♂️
Thanks for letting me know.
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.