I want to import Scrum projects with tasks & boards.
INitially my app will read all projects and then read the boards with tasks of selected projects. PLease advise the APIs needed to do this.
Hello,
Here you have the API's doc:
I believe:
GET /rest/api/2/project
Returns all projects which are visible for the currently logged in user. If no user is logged in, it returns the list of projects that are visible when using anonymous access.
parametertypedescription
expand | string | the parameters to expand |
recent | int | if this parameter is set then only projects recently accessed by the current user (if not logged in then based on HTTP session) will be returned (maximum count limited to the specified number but no more than 20). |
includeArchived | boolean | whether to include archived projects in response, default: false |
browseArchive | boolean | whether to include only projects where current user can browse archive |
The /dashboard
resource.
GET /rest/api/2/dashboard
Returns a list of all dashboards, optionally filtering them.
parametertypedescription
filter | string | an optional filter that is applied to the list of dashboards. Valid values include |
startAt | int | the index of the first dashboard to return (0-based). must be 0 or a multiple of |
maxResults | int | a hint as to the the maximum number of dashboards to return in each call. Note that the JIRA server reserves the right to impose a |
{
"startAt": 10,
"maxResults": 10,
"total": 143,
"prev": "http://www.example.com/jira/rest/api/2/dashboard?startAt=0",
"next": "http://www.example.com/jira/rest/api/2/dashboard?startAt=10",
"dashboards": [
{
"id": "10000",
"name": "System Dashboard",
"self": "http://www.example.com/jira/rest/api/2/dashboard/10000",
"view": "http://www.example.com/jira/secure/Dashboard.jspa?selectPageId=10000"
},
{
"id": "20000",
"name": "Build Engineering",
"self": "http://www.example.com/jira/rest/api/2/dashboard/20000",
"view": "http://www.example.com/jira/secure/Dashboard.jspa?selectPageId=20000"
}
]}
GET /rest/api/2/dashboard/{id}
Returns a single dashboard.
{
"id": "10000",
"name": "System Dashboard",
"self": "http://www.example.com/jira/rest/api/2/dashboard/10000",
"view": "http://www.example.com/jira/secure/Dashboard.jspa?selectPageId=10000"}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.