We are trying to get Portfolio’s Team custom field value on separate thread by using JiraThreadLocalUtil with method issue.getCustomFieldValue(field). Unfortunately, the result is null. But the same code, we can get other custom fields` value successfully, like custom field in type of Custom Label. And also, same code returns the value of Team custom field when it is run on main thread.
Can you please help us that why the code does not return Portfolio`s Team custom field value while run on separate thread?