Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

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 vote
Daniel Ebers Community Leader Dec 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

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 Community Leader Dec 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.

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 Community Leader Dec 12, 2020

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

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

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
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,184 views 8 28
Join discussion

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