Forums

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

Why do Customer Portal URLs not correspond with id?

Juri Begoihn February 24, 2019

Hey,

I want to get the URLs of our customer portals for our projects with the name of the project in a list.

I tried to use the Rest API as suggested here.

My problem is that the ids in the response do not match with the number in the URL all of the time.

Is there a way I can fix this?

Best regards,

Juri

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
February 25, 2019

Projects and portals are different things held in different places, that's the technical reason the ids are different.  All portals belong to a project, but not all projects have portals.

Your code needs to understand when it is looking at a project and when it's looking at a portal and be aware that they are different objects (and hence have different ids)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events