Tempo Servlet - Billing Attributes - get worklog attribute value instead of name

Sunny Bagri September 8, 2017

We use the tempo servlet to sync the work log attributes from Jira / Tempo to an external system.
We were running a version pre 8.2, but recently updated tempo to the latest version, which meant that the dynamic dropdown, which we had serving a set list of values, was converted to a static list.
The dynamic list we had before used a key / value pair, with the key part of it relating to records in the external system.
That seems to be fine for the most part, since the data was migrated correctly, with the keys being put into the VALUE colum of new table, and the value into the NAME column.

The issue I have is how the work log attributes show up in the output of the tempo servlet.
Pre 8.2, they would show up in the billing_attributes with the key, as below:
ChildService=DEVELOP,ParentService=DEV
Now however, they should up with the value, as below:
ChildService=Develop and Test,ParentService=Development
Is there any way to mimic the old behavior of having the VALUE column included in the output, instead of the NAME as is happening currently?

Or is the only way of getting that information to switch to the new rest API, which does still give you the VALUE?
"worklogAttributes": 
"key": "_ParentService_"
"value": "DEV"

"key": "_ChildService_"
"value": "DEVELOP"

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events