Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


IssueInputParameters does not have a setter field for parent field for jar version 7.1.0

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.

1 answer

I'm doing the same task:)
You need to set ParentID not into IssueInputParameters object, but into validateSubTaskCreate method of IssueService.
Sorry, there is no anchor on page, so here is screenshot:screen.PNG

Thanks for the answer. It worked.

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.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events