Considering the following usecase: I am creating an issue in github and I want it to be put as part of a userstory within a jira-project. How to accomplish that?
I can manage to let a new issue being made in Jira, but to make it part of a certain story seems impossible for now. For example in the incoming sync I set issue.parentId() , but it gives me an error “While trying to create an issue of type ‘Task’ in project ‘SB’ for remote ‘15’, Jira responded with: ; Field Given parent issue does not belong to appropriate hierarchy: parentId…”.
I believe you are looking to create sub-tasks within a user story for all the issue synced over from Github. I have achieved this using the following method:
Get the ID of the user story in Jira using Rest API.