new Issues()
Methods
-
all(qs)
-
Get all issues created by the authenticated user.
Parameters:
Name Type Description qsobject query params
Returns:
- Type
- Promise
-
create(projectId, issue)
-
create a new project issue
Parameters:
Name Type Description projectIdnumber | string The ID or URL-encoded path of the project owned by the authenticated user
issueobject Returns:
- Type
- Promise
-
group(groupId, qs)
-
Get a list of a group's issues.
Parameters:
Name Type Description groupIdnumber | string The ID or URL-encoded path of the group owned by the authenticated user
qsobject query params
Returns:
- Type
- Promise
-
milestone(projectId, milestoneId)
-
Gets all issues assigned to a single project milestone.
Parameters:
Name Type Description projectIdnumber | string The ID or URL-encoded path of the project owned by the authenticated user
milestoneIdnumber The ID of a project milestone
Returns:
- Type
- Promise
-
project(projectId)
-
Get a list of a project's issues.
Parameters:
Name Type Description projectIdnumber | string The ID or URL-encoded path of the project
Returns:
- Type
- Promise
-
query(projectId, issueIid)
-
Get a single project issue.
Parameters:
Name Type Description projectIdnumber | string The ID or URL-encoded path of the project owned by the authenticated user
issueIidnumber The internal ID of a project's issue
Returns:
- Type
- Promise
-
remove(projectId, issueIid)
-
Only for admins and project owners. Soft deletes the issue in question.
Parameters:
Name Type Description projectIdnumber | string The ID or URL-encoded path of the project owned by the authenticated user
issueIidnumber The internal ID of a project's issue
-
subscribe(projectId, issueIid)
-
Subscribes the authenticated user to an issue to receive notifications.
Parameters:
Name Type Description projectIdnumber | string The ID or URL-encoded path of the project owned by the authenticated user
issueIidnumber The internal ID of a project's issue
-
unsubscribe(projectId, issueIid)
-
Unsubscribes the authenticated user from the issue to not receive notifications from it.
Parameters:
Name Type Description projectIdnumber | string The ID or URL-encoded path of the project owned by the authenticated user
issueIidnumber The internal ID of a project's issue