Hi,
I'm trying to pull parent link custom field data in my custom plugin using java api, however it is returning null whereas I'm able to pull data for other custom fields.
Also same code snipped working in scrip runner, not sure why it giving null in java api
Below is java code snipped which is returning null when pulling custom field value from issue
MutableIssue issueTest = ComponentAccessor.getIssueManager().getIssueByKeyIgnoreCase("C63500-2600");
Collection<CustomField> initiativeCustomFields = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectsByName("Parent Link");
CustomField parentLinkCustomField = initiativeCustomFields.iterator().next();
log.error("cf Name C63500-2600 :: {}",issueTest.getCustomFieldValue(parentLinkCustomField));
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.