Hello Everyone,
I'm using ComponentAccessor.getIssueService() for creating an object of IssueService , and then using that issueService.newIssueInputParameters() for creating object of issueInputParameters.
issueInputParameters does not have a setter method for adding a parent field Id on version 7.1.0 (com.atlassian.jira.issue).
If this version does not have that method, can anyone share a previous version that provide the setter method for parent field Id.
Hi!
I'm doing the same task:)
You need to set ParentID not into IssueInputParameters object, but into validateSubTaskCreate method of IssueService.
Doc: https://docs.atlassian.com/software/jira/docs/api/7.6.1/index.html?com/atlassian/jira/bc/issue/IssueService.html
Sorry, there is no anchor on page, so here is screenshot:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Customer ,
After using validateSubtaskCreate method of IssueService, does issueService.create(loggedInUser,createValidationResult) worked for creating subtask.
In my case subtask is getting created but without the parent key.
So, there is not linkage of parent-subtask issue on Jira side.
Do I need to do use other method than issueService.create ? If yes, can you help with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.