You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
Currently, I am using the Tempo team field in Jira to add which team the issue belongs to. I am trying to create automation rules to update this field when it has been assigned to a certain user, added to a particular sprint or upon creation of a specific issue.
I have tried to use the additional field option with the following but have had no luck.
{
"fields": {
"customfield_xxxx": {
"value": "Team One"
}
}
}
When trying to test the automation rule, I get the following error message:
Error creating issue. Can not deserialize instance of java.lang.Long out of START_OBJECT token at [Source: N/A; line: -1, column: -1] (io.tempo.jira__team)
Has anyone had any luck trying to update this custom field? Or is it not possible because it is a locked custom field from Tempo? I have seen that you are able to run automation rules to update the Tempo Account field but not for the Team field.
Any help will be much appreciated! Thanks!
I've tried many different variants of this JSON but I still can't get this to work. It's very frustrating. Has anyone has success on this? @Naomi Stulberg @Yannick Vanlaeke @Alexander Eck @michal.wesolowski @Susana Rodrigues
Hi @Brett
what response do you get in the Audit logs? There might be some hints of what is going wrong.
Have you ensured that the Team you want to set is linked to the Jira project?
I wrote up a tutorial on how to set the Tempo Team name. You might want to go through the steps to see if you are missing something.
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Brett,
The JSON I mentioned works for me. We are on datacenter 8.5.5. Are you also trying this on server our in cloud?
Regards,
Yannick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Yannick Vanlaeke & @Alexander Eck - thank you for your replies.
I am getting the same error as the OP plus another when I make minor changes.
1. (Can not deserialize instance of java.lang.Long out of START_OBJECT token at [Source: N/A; line: -1, column: -1] (io.tempo.jira__team))
2. (Can not construct instance of java.lang.Long from String value 'Development': not a valid Long value at [Source: N/A; line: -1, column: -1] (io.tempo.jira__team))
I get error #1 when my JSON is
{
"fields": {
"customfield_10068": {"value" : "Design"}
}
}
I get error #2 when my JSON is
{
"fields": {
"customfield_10068": "Development"
}
}
I checked that the teams are mapped to the project too and will go through your article @Alexander Eck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexander Eck thanks for the article. I followed it and can confirm this is now working for me! Awesome.
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.
Hi,
you should use the Tempo team id. So something like this should do it.
{"fields":{"customfield_xxxxx":4}}
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It's important to add the " also for the value.
The value should also be the id of your team.
{
"fields": {
"customfield_xxxxx": "xxx"
}
}
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.