website
: String containing a URL to a website, withouthttp://
orhttps://
name
: The person’s namewebsite
(optional)email
(optional): The person’s email address
{
"name": "shak-mar",
"email": "[email protected]",
"website": "github.com/shak-mar"
}
name
: The plugin’s nameversion
: The plugin’s versioncompatible
: A Boolean.authors
(may be empty): List of personswebsite
(optional)synopsis
(optional): A String containing a short description of the plugin
{
"name": "comments",
"version": "1.0.0",
"website": "github.com/shak-mar/comments",
"synopsis": "Adds comments to issues",
"authors": [ {
"name": "shak-mar",
"email": "[email protected]",
"website": "github.com/shak-mar"
} ]
}
title
: The title of the issuedescription
(may be empty): String containing the description, may contain newlinestags
(may be empty): List of Stringscreation_time
: A point of UTC time in RFC3339 format, but without the+0:00
status
: String containingopen
orclosed
id
: String containing a UUIDplugins
(may be empty): List of Plugins that store extra information in this issueauthor
: A person
{
"title": "Write Examples",
"description": "Examples are nice.\nWe need them to understand",
"tags": [ "documentation", "project:issues_spec" ],
"creation_time": "2015-05-06 18:29:57",
"status": "open",
"id": "9b85a84f-9154-4547-a137-c68ec6664e40",
"plugins": [],
"author": {
"name": "shak-mar",
"email": "[email protected]",
"website": "github.com/shak-mar"
}
}
type
: The criterion type.
template
: An Issue object with all fields optional.
Issues will match if all of the given fields in template
are subsets.
criterion
: A FilterCriterion
Issues will match if they are not matched by criterion
.
criteria
: A list of FilterCriterion objects
Issues will match if all of the criteria
match.
criteria
: A list of FilterCriterion objects
Issues will match if at least one of the criteria
matches.
The following FilterCriterion will match Issues with the tag question
, but not
from an author with the name annoyingguy
:
{
"type": "and",
"criteria": [
{
"type": "template",
"tags": [ "question" ]
},
{
"type": "not",
"criterion": {
"type": "template",
"author": {
"name": "annoyingguy"
}
}
}
]
}
Is always successful. Adds the following fields to the response:
plugins
: List of activated plugins
Request:
issue
: The Issue object, without theid
field.
Response:
id
: ID of the created Issue
Request:
issue
: An Issue object with all fields butid
optional. Existing fields will override those in the Issue corresponding toid
.
Request:
criterion
: A FilterCriterion
Response:
matching
: A list of Strings containing theid
field of the matching Issues
Request:
id
: A String containing theid
field of the requested Issue
Response:
issue
: The requested Issue