Cant set custom field "account" made by Tempo Edited

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": [

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?

3 answers

1 accepted

1 vote
Andreas Knecht Community Champion Apr 11, 2017

Hey Steven,

So I heard back from Tempo support now.  It looks like the correct construct is to make the id a string:

    "fields": {
        "Account": "234"

Can you give that a go please?



This worked indeed . 1 upvote

0 vote
Andreas Knecht Community Champion Apr 09, 2017

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).


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. 



Andreas Knecht Community Champion Apr 10, 2017

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.



Andreas Knecht Community Champion Apr 26, 2017

For future users trying to do the same thing.

This works:

    "fields": {
        "Account": "234"

(account id as a string not a number)

Way overdue response, but this indeed worked!


Love the add-on btw. 



Andreas Knecht Community Champion Jun 07, 2017

Great to hear it worked!  Cheers!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas 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...

361 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you