You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.