Retrieving tempo customer key behind set tempo account

Roland Siegel
Contributor
July 4, 2019

Hi everyone!

I have the following problem I need to solve in my company:

 

I have an issue with tempo account "A" set. This account is connected to the tempo customer "Z" with the tempo customer key* "123".

Now I want for the same issue to retrieve this tempo customer key "123" behind this account "A" and set this value ("123") as a custom field value at the same issue.

Is this possible?
Best would be if this is possible via nFeed, because I need this value afterwards to retrieve connected data via nFeed from a remote database. Maybe then I don't need the custom field anymore and use the customer key directly to retrieve the connected data from the remote database.


* https://tempo-io.atlassian.net/wiki/spaces/THC/pages/296812865/Creating+and+Deleting+Customers+-+Tempo+Server

 

It looks like this:

Screenshot - 04.07.2019 , 16_41_23_ver001.png

Thanks in advance for your time! :)
Roland Siegel

1 answer

1 accepted

1 vote
Answer accepted
Roland Siegel
Contributor
May 13, 2020

Solved via Plugin "Elements Connect" (nFeed).

Live Text field using Jira REST API.
URL path: tempo-accounts/1/account/$issue.customfield_10400.id
(customfield_10400 is the Tempo Account field)

Columns
(Name | 
JSON path)
customerkey | customer.key

Jean-Christophe Gonzales January 23, 2023

Thanks for the trick, It works fine.

Anyway the app is pretty expensive if used just for this purpose, so now I'll try to do the same via Scriptrunner.

Sascha Beck
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2023

Mr. Gonzales,
did you find a way to solve the problem with ScriptRunner? I am facing the same problem and would be interested in a ScriptRunner solution.

 

Thanks in advance.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events