Forums

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

related issues

Olga Drewitz September 12, 2021

I am struggeling to get some specific relation.

Set-up: two different jira instances ( I think they are self hosted on a server)

What I want: get all the links of a ticket in one of the instances, there are also links between the two different jira instances

I tried to get the information via the  linkedIssues, but only the tickets in the same jira instance appear. (I tried much more, but actually I am not getting to a solution).

Does anyone had a similar issue and had a nice solution?

2 answers

1 accepted

0 votes
Answer accepted
Matthias Gaiser _K15t_
Community Champion
September 13, 2021

Hi @Olga Drewitz

welcome to the Atlassian Community.

Am I assuming correct that you're trying to get all the links of a ticket via the REST API?

If yes, you'd not only need to look at the linkedIssues. These will only contain links to issues inside this Jira instance.

To get links to other Jira or Confluence instances or simply web pages, you'd need to have a look at the remote links with a GET call to /rest/issue/{issueIdOrKey}/remotelink.

Does this help?

Cheers,
Matthias.

0 votes
Olga Drewitz September 13, 2021

Hi @Matthias Gaiser _K15t_ ,

thank you for the quick response. It helped me to understand my problem. I am actually using Python, but it has the same functionality.

Cheers,

Olga

Matthias Gaiser _K15t_
Community Champion
September 13, 2021

Great to read that, Olga.

As a little note for your future use of the community platform: You can directly reply to my post instead of posting a new answer. This way, there can be multiple answers to questions with some feedback to every single one.

Olga Drewitz September 13, 2021

That is right, I haven't realized that and will do it the next time :-)

Like Matthias Gaiser _K15t_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events