I'm trying to get the value of an issue link's custom field. I know how to do it in a regular sub-task, but with issue-link, I can't get it.
This is how I get a custom field's value in a Sub Task:
getattr(issue.fields, name_map[fields[0]])
And when I try it with issue link, like this:
getattr(**issue_link**.fields, name_map[fields[0]])
I get: AttributeError: type object 'PropertyHolder' has no attribute 'customfield_18697'
What's interesting, I can update the custom field's value, like this:
issue_link.update(fields={name_map["Field1"]:"ABC"})
Why can I update but not get the value?
Thanks in advance