Tempo: Issue Worklog is not becoming invalid when account field is missing

Hi,

in the past the work log validation worked like described in the Tempo docs here and here.

But since some of the latest Tempo plugin updates or due to some unrecognized mis-configuration this is not working anymore. We have JIRA 6.1.5 together with Tempo 7.8.3 - The Account is mapped to the custom field "Billing Key".

I understand so far that the expression setting in the tempo field configuration view is responsible for work logs becoming invalid or not. I tried to enter "Billing Key" here and even with the custom field id ("cf[10242]") but work logs with empty "Billing Key" remain valid. I also tried to use "Account" or "(fixVersions || components) && Account" as suggested in the expression field discription but using this the work log becomes invalid no matter if a value for Billing Key is set or not.

Any hints on this are very much appreciated.

Best Regards,

Christian

3 answers

1 accepted

Hi,

I renamed the CF "Billing Key" to "BillingKey" and also to "Account". I also tried with quotes - no change :-(

I opened JTS-988 on this.

Regards,

Christian

Hi Christian

In Tempo Administration -> Fields, you should enter the exact name of the account custom field you created in the Expression field.

Note: The Field page in Tempo Administration is one of few where you need to hit the save button at the bottom of the page when finished.

Hi Sandra,

this is exactly what I tried - without success :-(

I selected the Billing Key Field as Account and entered the Name of the field in the expression field:

Then I selected an issue without Billing Key and logged some work:

But in my time sheet the issue remains valid:

Do I have to quote the name of the custrom field in the expression - e.g. "Billing Key". Is the white space maybe causing the problem? Is it a bug?

I ensured that I hit the save button after my changes

Best Regards,

Christian

Hi,

Try changing the CF name to "Account" and also change the expression to "Account". If that works then there is an issue with the CF name. Maybe it does not like "Billing Key" because it is two words. Maybe you had to put the name in quotes if you had whitespace in the CF name.

Otherwise it sounds like a bug.

-Viðar

Hi,

I renamed the CF "Billing Key" to "BillingKey" and also to "Account". I also tried with quotes - no change :-(

I opened JTS-988 on this.

Regards,

Christian

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

164 views 1 17
Join discussion

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