HI,
Iam trying to create a Subtask in a post function. WIth that writing a code to overwrite the Component value in Subtask . The code is
ProjectComponent component = projectComponentManager.findByComponentName(project.getId,"Confluence")
issue.setComponentObjects([component.getGenericValue()])
I do not see error in the log as well. But the old component is seen in the subtask and not the new one.
Iam using JIRA 6.4.14 and Script Runner 3.0.16.