Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Tempo Account Field With JMWE

Paul Alexander
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 21, 2026

With Tempo Timesheets moving to Forge, I have discovered in our new sandbox env that this syntax no longer works. Does anyone have an alternative template that will work? This has worked for seven years. I'm on Atlassian Coud with JMWE.

The error in the JMWE log in our new sandbox env with the latest Tempo bits is simply this.

Error | Template Error | (string) Error: availableOptions filter: only applies to custom fields implemented by apps

For all of my Jira spaces, I have an affiliated Tempo Account that ends in 'Support'. I use this Nunjucks template on a Post Function (Set Issue Fields JMWE app) on a Create workflow step to set the Tempo Account for a given Work Item Type. I hope to keep this employed with the shift to the latest Tempo build soon.

{% set regex = r/Support/ %}
{% for account in "Account" | availableOptions %}
{% if regex.test(account.value) %}
{% set proj = account.config.scope.projects2 | find({id:issue.fields.project.id | int}) %}
{{ account.id if proj and not proj.attributes | find('notSelectable')}}
{% endif %}
{% endfor %}

Thanks a bunch,

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Arkadiusz Wroblewski
Community Champion
May 22, 2026

Hello @Paul Alexander 

I recommend opening a ticket with Appfire/JMWE support. The exact workaround depends heavily on whether JMWE can natively resolve Tempo's new Forge object fields within a "Set Issue Fields" post-function. Since Tempo's transition to Forge, their architecture has moved completely away from the old selectable Account field behavior. They can easily point you on right direction.

 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events