hey guys,
I m trying to create an automation rule using the Team field which looks as following.
Trigger: creation of a new issue
When: issue type is one of the following: Story, Epic, Task
Then: advanced option:
{
"fields": {
"customfield_10001":"TEAM-ID"
}
}
Result: No Team Name is added when a new issue is created :(. Any idea why?
Thank you in advance for your help.
@Antonina Yudina below should work...
{"update": {
"customfield_10001": [
{
"set": "f6c675e0-f944-482c-955c-0d265dc9285b"
}
]
}
}
Note, please replace your team ID
the field Team in a new Jira issue is still empty :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh, strange. The above code is working in my instance. not sure why its not working for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, as @Tomislav Tobijas mantioned share the rule + audit log.
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.
Great.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the field is still empty although no errors shown in the audit log. I dont get it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you share the work item snap and team as well. BTW, Team field is availble on the work item create, Edit screen? if not, then please add and test.
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 guys, it works :)))). but not immediately. it takes Jira kind of 1-2 sec to add the team name. Thank you all for ur great support!!! u r just amazing ;)!!!!
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 @Antonina Yudina ,
This should work, though. We're using the same thing/JSON and automation updates Team field value. We do additional mapping via Lookup table, but it's the same thing as defining an exact team ID.
Could you please share a screenshot and audit log from your automation to help debug what's going on there, if possible?
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.