Hello Script Runner team,
When saving the Story we have script in "post function" in the Story transition
We are trying to get a customfield from Epic to Story. (from parent to story)
This is the script:
ComponentManager componentManager = ComponentManager.getInstance()
CustomField cpi = componentManager.getCustomFieldManager().getCustomFieldObjectByName("Project ID")
It seems that getParentObject doesn't work. Could you give us some other advice how to pick up this custom field? It works when using subtask, but not anything else than subtask.
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