Why it is different fields returned when using same API end point but in two different domains?

Nilupa Rupasinghe December 10, 2020

We have two JIRA domains, say jira1.com and jira2.com. I have to use API calls to get some board details. So I did it in jira1.com as "jira1.com/rest/agile/latest/board" and it returned following

__1.PNGAnd in jira2.com as "jira2.com/rest/agile/latest/board" and it returned following with lesser fields (without location filed)

__2.PNGCan you help me to understand what is the reason for this?

2 answers

1 accepted

1 vote
Answer accepted
Daniel Ebers
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.
December 12, 2020

Hi Nilupa,

when you said you had two domains (jira1.com) this suggests somehow you are using the Server version as cloud offerings are on '.atlassian.net' domain.
On the other hand the panel on the right here, indeed, states you have a Cloud hosting.

Could you please confirm on that?

If you are using Server probably a version difference could be the source.

Thanks in advance!

Cheers,
Daniel

Nilupa Rupasinghe December 12, 2020

Hi @Daniel Ebers would the API I mentioned make any difference if I use server and cloud? I am quite new to this stuff. And say if one domain is cloud and the other is server why both attempts even give a response that looks similar but different in not returning only the location field? I mean is it possible for the JIRA admin to simply enable the location field to be set visible in the response.

I will have to look a bit to confirm if domains are server or cloud.

Daniel Ebers
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.
December 12, 2020

API on Server and Cloud differ a bit, yes.

https://developer.atlassian.com/server/jira/platform/rest-apis/
https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/

Probably it is only a permission thing - but that you can only check when you log in to both sites and compare settings.

Nilupa Rupasinghe December 12, 2020

So I guess doing this check would be a responsibility of the administrators in spite of the domains are cloud or server, isn't it?

Daniel Ebers
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.
December 12, 2020

Yes, if you have administrators on both systems you can speak to this would always a good idea.

0 votes
Bill Sheboy
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.
December 11, 2020

Hi @Nilupa Rupasinghe 

That is interesting... That version of the call usually includes the specific board id, as in:

jira1.com/rest/agile/latest/board/123

https://developer.atlassian.com/cloud/jira/software/rest/intro/#introduction

If you include the board ID do you see a difference for the different instances?  If so and you need that information, I recommend contacting the support team:

https://support.atlassian.com/contact/#/

 

Best regards,

Bill

Nilupa Rupasinghe December 12, 2020

Hi @Bill Sheboy  Actually, I use the API call I mentioned as an entry point and iterate over the response to get board ids and then to call the API you have mentioned to get details of it. So my problem is that I could not get location field information in the second response.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events