Jira S 8.6.1
Trying to get customfield by name and no method seems to work.
I see in docs that getCustomFieldObjectByName() is deprecated and now we have to use
getCustomFieldObjectsByName() but its not working.
getCustomFieldObject() + customfield_xxxxx does the job, but I'd like to get them by name, anyone knows a working way?
I want a single customfieldobject no a collection
First, thank you for your answer.
I am a little lost, since now its working with the single deprecated method
But the input parameter needs to be translated
To give you an example:
With the translated input string works...
Something has changed or I am missing something.
I've found this:
Thank you in advance
@Andreas Ebert Wrote this
Fyi @Atlassian, I think the bug it due to how the internal cache in CachingCustomFieldManager is initialized: CustomFieldInMemoryStore uses CustomField::getName to populate the Map byName, and since CustomField::getName is locale-dependent on the current user, it uses that user's translated name. Which is wrong. CustomFieldInMemoryStore shouldn't use the translated name. It should use CustomField::getUntranslatedName.
I think its What is happening here.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events