Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Seequence for creating issue link

shruthi kg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2013

Hello,

issueLinkManager.createIssueLink(sourceIssue.getId(), destIssue.
getId(), linkType.getId(), null, user);
I have created a issue link by using the above code, by default its taking the outward direction.
Kindly let me know how to specify the direction for creating links.
Regards,
Shruthi

2 answers

1 accepted

0 votes
Answer accepted
Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2013

If you want to create an "inward" link you have to switch the sourceIssueId and destIssueId parameters.

Henning

shruthi kg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2013

Thank you Henning.

It worked by changing the source and destination parameters

0 votes
Chaithra N
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2013

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events