How can i get access to customfield values if it has more than one (like name, category, budget and so on).
If we use getCustomfieldValue(.....) only the internal database-key is shown.
We need it for Tempo Account values in another scripted field to show the values in seperate fields on an issue.
May be they are attributes ore propertys instead of values but we need the access to it in scripted field.
A custom field holding multiple values will return an array of options when queried. You'll need to iterate over the array to get each one out individually
I'm not quite sure what you mean by "get access" though, or what you're trying to do. And what are you using to generate your scripted field?
I'm new in grovvy or over scripting in jira.
To explain it in picture the data stored in an Tempo Account.
All data are columns in a single table in database except of the Category.
The funktion getCustomfieldValue(Account) shows an unique number as result, not the Key, not the Name and so on.
We need scripted fields they show us the stored information of Contact, Category, Monthly Budget in the issue.
The biggest problem i see is the Category stored in its own table.
Please can you show me how i can get it work.
Ah, right, that's a bit more painful. These are not customfields in the standard sense, they are fields tempo implements on Tempo accounts (standard customfields belong to JIRA issues). I don't know that you can get to them very easily - I think you need to invoke the Tempo API to read them, but I don't know how to do that
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot