Not able to access data from Rest API-JIRA - jira-rest-api

I have created a atlassin account for testing the Jira rest api and created a project and tickets under it.
I am able to access the projects but not the issues under it. Please find below for more info
Could someone please help me what permissions I am missing

We can access the issues using URL request for api as below
"https://site.atlassian.net/rest/api/2/search?jql=updated>-90d&startAt="

Not a permission issue, but you missed adding issueIdOrKey path parameter. JIRA attempts to identify the issue by the issueIdOrKey path parameter. This can be an issue id, or an issue key.
To get the issue details, you can use the following Jira Rest endpoint,
GET /rest/api/2/issue/{issueIdOrKey}
For your case it will be,
GET /rest/api/2/issue/BI-1

Related

Which Rally API is used for creating defect now?

I tried all sample and getting error - It is no longer necessary to append ".js" to WSAPI resources. Please Help with example.
That is just a warning- it's not actually preventing anything from working. Can you give us some more info on how you're accessing the api? Are you writing an app? Are you using one of the REST toolkits? Are there other errors in your response?
That warning just means you can drop the .js from all of the ref urls. The proper defect creation endpoint in wsapi version 2 is this:
/slm/webservice/v2.0/defect/create

GitLab api: how am i able the get the list of projects using gitlab api?

i was trying to get the list of projects in my gitlab using Git api. for that i was following Git lab api instruction.
they said i can access the list of project by this link:
https://gitlab.com/api/v4/projects?access_token=some_token.
but unfortunately with the above link i got bunch of information, which is not mine at all. i got the information which is owned by other users.
In that case how am i able the get my own projects information?
Nevertheless, the respond JSON has so many attribute. is there anyway that i can achieve the attribute according to my desire?
You can use owned=true to get only project which you are owner and simple=true to have limited field, check this :
https://gitlab.com/api/v4/projects?access_token=some_token&owned=true&simple=true

BIM 360 field API login issues

Frustrating issue with attempting to use REST to login to the BIM 360 Field API, it was suggested that to use the postman application in order to ensure that my code wasn't an issue, however I'm now getting an unauthorized error, this has been attempted with an admin account and a developer account with the same response (login details are definitely valid), I was wandering if anyone has encountered this problem before or has any idea how would go about getting past this, I need to get the ticket response in order to go any further with developing an application for this, I'm already in contact with someone from Autodesk but due to timezone differences responses are difficult!
I've attached a picture to highlight the simplicity of what I'm attempting to do with no joy!
Thanks in advance
Dan
In case somebody else hits the same issue, FYI -
Dan and I looked at this issue, and we learned (in a hard way) that the base URL for BIM 360 Field in European region is:
https://bim360field.eu.autodesk.com
Notice "eu" in the URL. In the U.S., it is https://bim360field.autodesk.com
I wrote a post about this, too, for future reference:
https://fieldofviewblog.wordpress.com/2016/08/18/base-url-for-bim-360-field-in-european-countries/
I also found it worked when I used https but not http although the examples in the help use http.

I need to access "Issues in Feature" stories, but don't see how

I don't see a way to access "Issues in Feature" stories. Can someone point me in the right direction? Any help is greatly appreciated!
I'm using the JIRA latest API (I think 7.1.1), and can make other calls to get info from Jira, just haven't found a way to get the "child" stories from this section.
By Issues In Feature I assume you want to search for Stories (or other issue types) linked to an issue of type Feature.
If you use an add-on like Script Runner, you get access to additional JQL functions that allow you to query for issues linked to each other. Look here for its documentation.
The JQL you end up with can also be used in REST API calls.

Magento Rest API Error missing media_gallery

I have completed setting up the Magento Rest API and been able to retrieve a list of product without any errors using the API Example code Magento provides. However when I try to use the create a simple product example provided at http://www.magentocommerce.com/api/rest/introduction.html#RESTAPIIntroduction-Overview
I get the below error.
{"messages":{"error":[{"code":400,"message":"Missing \"media_gallery\" in request."}
I have looked everywhere and can't seem to find out how to fix the error. I don't see any reference here http://www.magentocommerce.com/api/rest/Resources/Products/products.html#RESTAPI-Resource-Products-HTTPMethod-POST-products saying media_gallery is required in the request.
Can anyone shed some light on this error and how to fix it?
I've been looking that up as well, but you can always modify that attribute in magento's administration and just turn it off (catalog/attributes/manage attributes), as in make it NOT required.
Cheers