It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
It seems impossible to set the field "Account" which is a custom field made by the Tempo Timesheets plugin.
In our case this is the customfield_10002. As seen in the REST documentation this should have a SET opration (see below).
"customfield_10002": {
"required": false,
"schema": {
"type": "account",
"custom": "com.tempoplugin.tempo-accounts:accounts.customfield",
"customId": 10002
},
"name": "Account",
"key": "customfield_10002",
"hasDefaultValue": false,
"operations": [
"set"
]
}
But whatever value or id I Set (values and ID's are accessible via http://<youratlassian>/rest/tempo-accounts/1/account/ ) it wont be set in the automation. The automation on the other hand says it was a succes.
Has someone encountered and fixed this issue?
Hi Steven,
So did you try this with an 'Edit issue' action using the 'Advanced' block?
Is this the JSON you put in the advanced block:
{ "fields": { "Account": 234 } }
234 in this example would be the account id.
I haven't been able to test this yet and trying to get a hold of someone from Tempo. I'm not 100% sure if this field can be set this way (it's a non-standard custom field).
Cheers,
Andreas
Hi Andreas,
I tried this but it doesn't work. The rule triggers at the condition and as a test i also set the assignee in the automation. That works fine, but the account field won't set.
Cheers,
Steven
Hey Steven,
So I've just setup Tempo locally and tried pretty much any combination I can think of to edit the Account field via REST with no luck. I'm not sure this will be possible.
I did just open a support case with Tempo to ask them what they magic format for this field might be. I'll let you know when they get back to me.
Cheers,
Andreas
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreAtlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.