Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Linking issues to a story or a feature project using java jira client

Hi All,


    I am using jira rest java client with the below maven dependency.


I am able create stories. But I need help in linking the issues to the story. I tried below 

Issue initiative = issueClient.getIssue("EA-253").claim();
URI uri = initiative.getSelf();

issueLinkType= new IssueLinkType("Feature", "feature", IssueLinkType.Direction.OUTBOUND);
IssueLink link = new IssueLink(feature.getInitiative(),uri,issueLinkType);
newIssueBuilder.setFieldInput(new FieldInput(IssueFieldId.LINKS_FIELD,ComplexIssueInputFieldValue.with("issueLinks",link)));



but I am getting error as below 

Cannot generate value - unknown type for me: 


Can somebody help me how to do it?


0 answers

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you