how can i get json of newest ticket in jira Queue page for below link
projects/assitance1/queues/custom/5
I don't think there is a specific REST Endpoint available for that. But I believe you can query it via the JQL. If that's suits, you can use rest/api/2/search?jql=
This query via the REST API search endpoint will provide you with the list of tickets ordered by the created date, newest tickets first:
https://your.jira.host/rest/api/2/search?jql=+order+by+created+desc
Related
I am new to this keycloak user management.
Basically I want to fetch users using "IN" condition on username field
Unfortunately, no. See REST API doc: https://www.keycloak.org/docs-api/15.0/rest-api/index.html
Currently, keycloak doesn't support getting multiple users by ids or usernames.
You can use keycloak SPI:
This is my repo for this query function:
Bulk user query
If there is any bug. Feel free to submit pull request too.
I'm trying to query the Azure Devops REST API to see when a project first came into existence and, perhaps, who created it. I'm using the link below and my results do match the documentation which, unfortunately, doesn't include create date. Is there any other ways to query AzDo REST API to get this data?
https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/get%20project%20properties?view=azure-devops-rest-5.1
I am afraid there is no rest api to get the start date of project. The start date property is not included in the returned results of Get Project Api.
This issue has been reported to Microsoft develop team. You can vote up this thread or submit a new feature(Click Suggest a feature and choose Azure Devops).
I am working on a new integration with GitHub API v4 (the one using GraphQL).
I see for example that the User object has the fields id and databaseid.
What is the difference between them?
Which should I use?
Thanks
I would use id, because GitHub Documentation is using the id.
You can read more here: https://developer.github.com/v4/guides/using-global-node-ids/
I am able to get all the issues in Jira via the REST API but how to get only bugs via REST? Bug is one of the issuetype configured in my Jira project.
To get all issue from a certain type (Bug in your case) you can use:
yourjira.url/rest/api/2/search?jql=issueType="Bug"
Here is a link with more information on the use of JQL queries:
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues
I have a prototype API which will return all the content from the confluence instance including users. The rest endpoint is https://confluenceinstance.atlassian.net/wiki/rest/prototype/1/search.json?query=
Is there a way I can get only the users in the system? I tried sending query=user which gave me irrelevant response. Any leads would be appreciated. Thank you.
I am not sure about hosted version of confluence, but in dedicated version you can download the Rest API Browser addon that would list all rest services and from there you can find that user-management/1.0/users returns a paginated list of users.