<?xml version="1.0" encoding="UTF-8"?>
<ns2:application xmlns:ns2="http://wadl.dev.java.net/2009/02"><ns2:doc
        jersey:generatedBy="Jersey: 1.19 02/11/2015 03:25 AM"
        xmlns:jersey="http://jersey.java.net/"/><ns2:doc
        title="JIRA 7.1.2"
            xml:lang="en"><![CDATA[
        This documents the current REST API provided by JIRA.
    ]]></ns2:doc><ns2:grammars><ns2:include
            href="xsd1.xsd"><ns2:doc/></ns2:include><ns2:include
        href="xsd0.xsd"><ns2:doc/></ns2:include></ns2:grammars><ns2:resources
            base="http://example.com:8080/jira/rest/"><ns2:resource
                path="api/2/project"><ns2:method id="getAllProjects"
                        name="GET"><ns2:doc><![CDATA[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.]]></ns2:doc><ns2:request><ns2:param
                        name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param><ns2:param
                        name="recent" style="query" type="xs:int"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[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).]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[all projects for which the user has the BROWSE project permission. If no user is logged in,
 it returns all projects, which are visible when using anonymous access.]]></ns2:doc><ns2:representation
                        element="projects"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","name":"Example","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}},{"self":"http://www.example.com/jira/rest/api/2/project/ABC","id":"10001","key":"ABC","name":"Alphabetical","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10001","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10001","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10001","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10001"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of projects for which the user has the BROWSE, ADMINISTER or PROJECT_ADMIN project permission.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-project#","title":"List of Project","type":"array","items":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="createProject"
                        name="POST"><ns2:doc><![CDATA[Creates a new project.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"EX","name":"Example","projectTypeKey":"business","projectTemplateKey":"com.atlassian.jira-core-project-templates:jira-core-project-management","description":"Example Project description","lead":"Charlie","url":"http://atlassian.com","assigneeType":"PROJECT_LEAD","avatarId":10200,"issueSecurityScheme":10001,"permissionScheme":10011,"notificationScheme":10021,"categoryId":10120}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-input#","title":"Project Input","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"projectTypeKey":{"type":"string"},"projectTemplateKey":{"type":"string"},"description":{"type":"string"},"lead":{"type":"string"},"url":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"avatarId":{"type":"integer"},"issueSecurityScheme":{"type":"integer"},"permissionScheme":{"type":"integer"},"notificationScheme":{"type":"integer"},"categoryId":{"type":"integer"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:doc><![CDATA[The {@link com.atlassian.jira.rest.v2.issue.project.ProjectIdentity} of newly created project.]]></ns2:doc><ns2:representation
                        element="project"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://example/jira/rest/api/2/project/10042","id":10010,"key":"EX"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project creation was successful.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-identity#","title":"Project Identity","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"integer"},"key":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[The {@link com.atlassian.jira.rest.v2.issue.project.ProjectIdentity} of newly created project.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is not valid and the project could not be created.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[The {@link com.atlassian.jira.rest.v2.issue.project.ProjectIdentity} of newly created project.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[The {@link com.atlassian.jira.rest.v2.issue.project.ProjectIdentity} of newly created project.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have rights to create projects.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{projectIdOrKey}"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Project id or project key]]></ns2:doc></ns2:param><ns2:method
                    id="getProject"
                            name="GET"><ns2:doc><![CDATA[Contains a full representation of a project in JSON format.
 <p>
 All project keys associated with the project will only be returned if <code>expand=projectKeys</code>.
 <p>]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a project]]></ns2:doc><ns2:representation
                            element="project"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"description,lead,url,projectKeys","self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","description":"This project was created as an example for REST.","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"components":[{"self":"http://www.example.com/jira/rest/api/2/component/10000","id":"10000","name":"Component 1","description":"This is a JIRA component","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"assigneeType":"PROJECT_LEAD","assignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"realAssigneeType":"PROJECT_LEAD","realAssignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"isAssigneeTypeValid":false,"project":"HSP","projectId":10000}],"issueTypes":[{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/3","id":"3","description":"A task that needs to be done.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/task.png","name":"Task","subtask":false,"avatarId":1},{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/1","id":"1","description":"A problem with the software.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false,"avatarId":10002}],"url":"http://www.example.com/jira/browse/EX","email":"from-jira@example.com","assigneeType":"PROJECT_LEAD","versions":[],"name":"Example","roles":{"Developers":"http://www.example.com/jira/rest/api/2/project/EX/role/10000"},"avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project exists and the user has permission to view it. Contains a full representation
 of a project in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project#","title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a project]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found, or the calling user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateProject"
                            name="PUT"><ns2:doc><![CDATA[Updates a project.
 <p>
 Only non null values sent in JSON will be updated in the project.</p>
 <p>
 Values available for the assigneeType field are: "PROJECT_LEAD" and "UNASSIGNED".</p>]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand in returned project]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"EX","name":"Example","projectTypeKey":"business","projectTemplateKey":"com.atlassian.jira-core-project-templates:jira-core-project-management","description":"Example Project description","lead":"Charlie","url":"http://atlassian.com","assigneeType":"PROJECT_LEAD","avatarId":10200,"issueSecurityScheme":10001,"permissionScheme":10011,"notificationScheme":10021,"categoryId":10120}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-input#","title":"Project Input","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"projectTypeKey":{"type":"string"},"projectTemplateKey":{"type":"string"},"description":{"type":"string"},"lead":{"type":"string"},"url":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"avatarId":{"type":"integer"},"issueSecurityScheme":{"type":"integer"},"permissionScheme":{"type":"integer"},"notificationScheme":{"type":"integer"},"categoryId":{"type":"integer"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[updated project details.]]></ns2:doc><ns2:representation
                            element="project"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"description,lead,url,projectKeys","self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","description":"This project was created as an example for REST.","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"components":[{"self":"http://www.example.com/jira/rest/api/2/component/10000","id":"10000","name":"Component 1","description":"This is a JIRA component","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"assigneeType":"PROJECT_LEAD","assignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"realAssigneeType":"PROJECT_LEAD","realAssignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"isAssigneeTypeValid":false,"project":"HSP","projectId":10000}],"issueTypes":[{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/3","id":"3","description":"A task that needs to be done.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/task.png","name":"Task","subtask":false,"avatarId":1},{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/1","id":"1","description":"A problem with the software.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false,"avatarId":10002}],"url":"http://www.example.com/jira/browse/EX","email":"from-jira@example.com","assigneeType":"PROJECT_LEAD","versions":[],"name":"Example","roles":{"Developers":"http://www.example.com/jira/rest/api/2/project/EX/role/10000"},"avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project update was successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project#","title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[updated project details.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is not valid and the project could not be updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[updated project details.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[updated project details.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have rights to update projects.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[updated project details.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteProject"
                        name="DELETE"><ns2:doc><![CDATA[Deletes a project.]]></ns2:doc><ns2:response
                        status="401"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="204"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation
                        mediaType="application/json"><ns2:doc><![CDATA[Returned if the project is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to delete the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/statuses"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Project id or project key]]></ns2:doc></ns2:param><ns2:method
                    id="getAllStatuses"
                        name="GET"><ns2:doc><![CDATA[Get all issue types with valid status values for a project]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[collection of issue types with possi]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/3","id":"3","name":"Task","subtask":false,"statuses":[{"self":"http://localhost:8090/jira/rest/api/2.0/status/10000","description":"The issue is currently being worked on.","iconUrl":"http://localhost:8090/jira/images/icons/progress.gif","name":"In Progress","id":"10000"},{"self":"http://localhost:8090/jira/rest/api/2.0/status/5","description":"The issue is closed.","iconUrl":"http://localhost:8090/jira/images/icons/closed.gif","name":"Closed","id":"5"}]}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project exists and the user has permission to view its components. Contains a full
 representation of issue types with status values which are valid for each issue type.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-issue-type-with-status#","title":"List of Issue Type With Status","type":"array","items":{"title":"Issue Type With Status","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"statuses":{"type":"array","items":{"title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}}},"additionalProperties":false,"required":["subtask"]}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="400"><ns2:doc><![CDATA[collection of issue types with possi]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found, or the calling user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/avatars"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[project id or project key]]></ns2:doc></ns2:param><ns2:method
                    id="getAllAvatars"
                        name="GET"><ns2:doc><![CDATA[Returns all avatars which are visible for the currently logged in user.  The avatars are grouped into
 system and custom.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[all avatars for which the user has the BROWSE project permission.]]></ns2:doc><ns2:representation
                            element="avatars"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"system":[{"id":"1000","owner":"fred","isSystemAvatar":true,"isSelected":false,"isDeletable":false,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10040","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10040","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10040","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10040"},"selected":false}],"custom":[{"id":"1010","owner":"andrew","isSystemAvatar":false,"isSelected":false,"isDeletable":true,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10080","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10080","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10080","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10080"},"selected":false}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a map containing a list of avatars for both custom an system avatars, which the user has the BROWSE project permission.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"object","patternProperties":{".+":{"type":"array","items":{"title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[all avatars for which the user has the BROWSE project permission.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have VIEW PROJECT permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/avatar"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="createAvatarFromTemporary"
                            name="POST"><ns2:doc><![CDATA[Converts temporary avatar into a real avatar]]></ns2:doc><ns2:request><ns2:representation
                            element="avatarCroppingBean"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"needsCropping":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"1000","owner":"fred","isSystemAvatar":true,"isSelected":false,"isDeletable":false,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10040","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10040","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10040","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10040"},"selected":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns created avatar]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar#","title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the cropping coordinates are invalid]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to pick avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have EDIT PROJECT permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateProjectAvatar"
                            name="PUT"><ns2:request><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar#","title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/avatar/temporary"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Project id or project key]]></ns2:doc></ns2:param><ns2:method
                    id="storeTemporaryAvatar"
                            name="POST"><ns2:doc><![CDATA[Creates temporary avatar]]></ns2:doc><ns2:request><ns2:param
                            name="filename" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[name of file being uploaded]]></ns2:doc></ns2:param><ns2:param
                            name="size" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[size of file]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"url":"http://example.com/jira/secure/temporaryavatar?cropped=true","needsCropping":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Validation failed. For example filesize is beyond max attachment size.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request does not contain a valid XSRF token]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have EDIT PROJECT permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="storeTemporaryAvatarUsingMultiPart"
                        name="POST"><ns2:doc><![CDATA[Creates temporary avatar using multipart. The response is sent back as JSON stored in a textarea. This is because
 the client uses remote iframing to submit avatars using multipart. So we must send them a valid HTML page back from
 which the client parses the JSON.]]></ns2:doc><ns2:response
                            status="201"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="text/html"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"url":"http://example.com/jira/secure/temporaryavatar?cropped=true","needsCropping":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[temporary avatar cropping instructions embeded in HTML page. Error messages will also be embeded in the page.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have EDIT PROJECT permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/avatar/{id}"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Project id or project key]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[database id for avatar]]></ns2:doc></ns2:param><ns2:method
                    id="deleteAvatar"
                        name="DELETE"><ns2:doc><![CDATA[Deletes avatar]]></ns2:doc><ns2:response
                            status="204"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation
                        mediaType="application/json"><ns2:doc><![CDATA[Returned if the avatar is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to delete the component.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the avatar does not exist or the currently authenticated user does not have permission to
 delete it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/components"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project id or project key]]></ns2:doc></ns2:param><ns2:method
                    id="getProjectComponents"
                        name="GET"><ns2:doc><![CDATA[Contains a full representation of a the specified project's components.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[the passed project's components.]]></ns2:doc><ns2:representation
                            element="components"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/component/10000","id":"10000","name":"Component 1","description":"This is a JIRA component","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"assigneeType":"PROJECT_LEAD","assignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"realAssigneeType":"PROJECT_LEAD","realAssignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"isAssigneeTypeValid":false,"project":"HSP","projectId":10000},{"self":"http://www.example.com/jira/rest/api/2/component/10000","id":"10050","name":"PXA","description":"This is a another JIRA component","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"assigneeType":"PROJECT_LEAD","assignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"realAssigneeType":"PROJECT_LEAD","realAssignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"isAssigneeTypeValid":false,"project":"PROJECTKEY","projectId":10000}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project exists and the user has permission to view its components. Contains a full
 representation of the project's components in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-component#","title":"List of Component","type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[the passed project's components.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found, or the calling user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/type/{newProjectTypeKey}"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[identity of the project to update]]></ns2:doc></ns2:param><ns2:param
                    name="newProjectTypeKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The key of the new project type]]></ns2:doc></ns2:param><ns2:method
                    id="updateProjectType"
                        name="PUT"><ns2:doc><![CDATA[Updates the type of a project.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[A response that will contain the updated project if the operation was successful.]]></ns2:doc><ns2:representation
                            element="project"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"description,lead,url,projectKeys","self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","description":"This project was created as an example for REST.","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"components":[{"self":"http://www.example.com/jira/rest/api/2/component/10000","id":"10000","name":"Component 1","description":"This is a JIRA component","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"assigneeType":"PROJECT_LEAD","assignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"realAssigneeType":"PROJECT_LEAD","realAssignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"isAssigneeTypeValid":false,"project":"HSP","projectId":10000}],"issueTypes":[{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/3","id":"3","description":"A task that needs to be done.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/task.png","name":"Task","subtask":false,"avatarId":1},{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/1","id":"1","description":"A problem with the software.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false,"avatarId":10002}],"url":"http://www.example.com/jira/browse/EX","email":"from-jira@example.com","assigneeType":"PROJECT_LEAD","versions":[],"name":"Example","roles":{"Developers":"http://www.example.com/jira/rest/api/2/project/EX/role/10000"},"avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the update to the project type was successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project#","title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[A response that will contain the updated project if the operation was successful.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is not valid and the project type could not be updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[A response that will contain the updated project if the operation was successful.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[A response that will contain the updated project if the operation was successful.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have rights to update projects.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[A response that will contain the updated project if the operation was successful.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/versions"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project id or project key]]></ns2:doc></ns2:param><ns2:method
                    id="getProjectVersions"
                            name="GET"><ns2:doc><![CDATA[Contains a full representation of a the specified project's versions.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the passed project's versions.]]></ns2:doc><ns2:representation
                            element="versions"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/version/10000","id":"10000","description":"An excellent version","name":"New Version 1","archived":false,"released":true,"releaseDate":"2010-07-06","overdue":true,"userReleaseDate":"6/Jul/2010","projectId":10000},{"self":"http://www.example.com/jira/rest/api/2/version/10010","id":"10010","description":"Minor Bugfix version","name":"Next Version","archived":false,"released":false,"overdue":false,"projectId":10000}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project exists and the user has permission to view its versions. Contains a full
 representation of the project's versions in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-version#","title":"List of Version","type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[the passed project's versions.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found, or the calling user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectIdOrKey}/version"><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project id or project key]]></ns2:doc></ns2:param><ns2:method
                    id="getProjectVersionsPaginated"
                            name="GET"><ns2:doc><![CDATA[Returns all versions for the specified project. Results are <a href="#pagination">paginated</a>.
 <p>
 Results can be ordered by the following fields:
 <ul>
 <li>sequence</li>
 <li>name</li>
 <li>startDate</li>
 <li>releaseDate</li>
 </ul>
 </p>]]></ns2:doc><ns2:request><ns2:param
                            name="startAt" style="query" type="xs:long"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the page offset, if not specified then defaults to 0]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[how many results on the page should be included. Defaults to 50.]]></ns2:doc></ns2:param><ns2:param
                            name="orderBy" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[ordering of the results.]]></ns2:doc></ns2:param><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the passed project's versions.]]></ns2:doc><ns2:representation
                            element="versions"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/project/PR/version?startAt=0&amp;maxResults=2","nextPage":"http://www.example.com/jira/rest/api/2/project/PR/version?startAt=2&amp;maxResults=2","maxResults":2,"startAt":0,"total":7,"isLast":false,"values":[{"self":"http://www.example.com/jira/rest/api/2/version/10000","id":"10000","description":"An excellent version","name":"New Version 1","archived":false,"released":true,"releaseDate":"2010-07-06","overdue":true,"userReleaseDate":"6/Jul/2010","projectId":10000},{"self":"http://www.example.com/jira/rest/api/2/version/10010","id":"10010","description":"Minor Bugfix version","name":"Next Version","archived":false,"released":false,"overdue":false,"projectId":10000}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[One page of versions for the project.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/page-of-version#","title":"Page of Version","type":"object","properties":{"self":{"type":"string","format":"uri"},"nextPage":{"type":"string","format":"uri"},"maxResults":{"type":"integer"},"startAt":{"type":"integer"},"total":{"type":"integer"},"isLast":{"type":"boolean"},"values":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false,"required":["maxResults","startAt"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[the passed project's versions.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found, or the calling user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/customFieldOption"><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing an Custom Field Option id]]></ns2:doc></ns2:param><ns2:method
                    id="getCustomFieldOption"
                        name="GET"><ns2:doc><![CDATA[Returns a full representation of the Custom Field Option that has the given id.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a full representation of the Custom Field Option with the given id]]></ns2:doc><ns2:representation
                            element="customFieldOption"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://localhost:8090/jira/rest/api/2.0/customFieldOption/3","value":"Blue"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the Custom Field Option exists and is visible by the calling user.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/custom-field-option#","title":"Custom Field Option","type":"object","properties":{"self":{"type":"string","format":"uri"},"value":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a full representation of the Custom Field Option with the given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the Custom Field Option does not exist, or is not visible to the calling user.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/auditing/"><ns2:doc><![CDATA[Resource representing the auditing records]]></ns2:doc><ns2:resource
                    path="record"><ns2:method id="getRecords"
                            name="GET"><ns2:doc><![CDATA[Returns auditing records filtered using provided parameters]]></ns2:doc><ns2:request><ns2:param
                            name="offset" style="query" type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- the number of record from which search starts]]></ns2:doc></ns2:param><ns2:param
                            name="limit" style="query" type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- maximum number of returned results (if is limit is <= 0 or > 1000, it will be set do default value: 1000)]]></ns2:doc></ns2:param><ns2:param
                            name="filter" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- text query; each record that will be returned must contain the provided text in one of its fields]]></ns2:doc></ns2:param><ns2:param
                            name="from" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- timestamp in past; 'from' must be less or equal 'to', otherwise the result set will be empty
               only records that where created in the same moment or after the 'from' timestamp will be provided in response]]></ns2:doc></ns2:param><ns2:param
                            name="to" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- timestamp in past; 'from' must be less or equal 'to', otherwise the result set will be empty
               only records that where created in the same moment or earlier than the 'to' timestamp will be provided in response]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[auditing records with all associated objects]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":1,"summary":"User created","remoteAddress":"192.168.1.1","authorKey":"administrator","created":"2014-03-19T18:45:42.967+0000","category":"user management","eventSource":"JIRA Connect Plugin","description":"Optional description","objectItem":{"id":"user","name":"user","typeName":"USER","parentId":"1","parentName":"JIRA Internal Directory"},"changedValues":[{"fieldName":"email","changedFrom":"user@atlassian.com","changedTo":"newuser@atlassian.com"}],"associatedItems":[{"id":"jira-software-users","name":"jira-software-users","typeName":"GROUP","parentId":"1","parentName":"JIRA Internal Directory"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list auditing records filtered with request query parameters]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/audit-record#","title":"Audit Record","type":"object","properties":{"id":{"type":"integer"},"summary":{"type":"string"},"remoteAddress":{"type":"string"},"authorKey":{"type":"string"},"created":{"type":"string"},"category":{"type":"string"},"eventSource":{"type":"string"},"description":{"type":"string"},"objectItem":{"$ref":"#/definitions/associated-item"},"changedValues":{"type":"array","items":{"title":"Changed Value","type":"object","properties":{"fieldName":{"type":"string"},"changedFrom":{"type":"string"},"changedTo":{"type":"string"}},"additionalProperties":false}},"associatedItems":{"type":"array","items":{"$ref":"#/definitions/associated-item"}}},"definitions":{"associated-item":{"title":"Associated Item","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"typeName":{"type":"string"},"parentId":{"type":"string"},"parentName":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[auditing records with all associated objects]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[In case of unhandled error while fetching auditing records]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[auditing records with all associated objects]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have admin permission]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addRecord"
                            name="POST"><ns2:doc><![CDATA[Store a record in Audit Log]]></ns2:doc><ns2:request><ns2:representation
                            element="record"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"summary":"User created","created":null,"category":"USER_MANAGEMENT","objectItem":{"id":"usr","name":"user","typeName":"USER","parentId":"1","parentName":"JIRA Internal Directory"},"changedValues":[{"fieldName":"email","changedFrom":"user@atlassian.com","changedTo":"newuser@atlassian.com"}],"associatedItems":[{"id":"jira-software-users","name":"jira-software-users","typeName":"GROUP","parentId":"1","parentName":"JIRA Internal Directory"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/audit-record#","title":"Audit Record","type":"object","properties":{"id":{"type":"integer"},"summary":{"type":"string"},"remoteAddress":{"type":"string"},"authorKey":{"type":"string"},"created":{"type":"string"},"category":{"type":"string"},"eventSource":{"type":"string"},"description":{"type":"string"},"objectItem":{"$ref":"#/definitions/associated-item"},"changedValues":{"type":"array","items":{"title":"Changed Value","type":"object","properties":{"fieldName":{"type":"string"},"changedFrom":{"type":"string"},"changedTo":{"type":"string"}},"additionalProperties":false}},"associatedItems":{"type":"array","items":{"$ref":"#/definitions/associated-item"}}},"definitions":{"associated-item":{"title":"Associated Item","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"typeName":{"type":"string"},"parentId":{"type":"string"},"parentName":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:representation><ns2:doc><![CDATA[Returned if the record is successfully stored.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[In case of unhandled error while fetching auditing records]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have admin permission]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/serverInfo"><ns2:method id="getServerInfo"
                        name="GET"><ns2:doc><![CDATA[Returns general information about the current JIRA server.]]></ns2:doc><ns2:request><ns2:param
                        name="doHealthCheck" style="query"
                        type="xs:boolean"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a Response containing a ServerInfoBean]]></ns2:doc><ns2:representation
                        element="serverInfo"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"baseUrl":"http://localhost:8080/jira","version":"5.0-SNAPSHOT","versionNumbers":[5,0,0],"buildNumber":582,"buildDate":"2016-03-16T04:22:36.155+0000","serverTime":"2016-03-16T04:22:36.155+0000","scmInfo":"1f51473f5c7b75c1a69a0090f4832cdc5053702a","buildPartnerName":"Example Partner Co.","serverTitle":"My Shiny New JIRA Server"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of the server info in JSON format]]></ns2:doc><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/server-info#","title":"Server Info","type":"object","properties":{"baseUrl":{"type":"string"},"version":{"type":"string"},"versionNumbers":{"type":"array","items":{"type":"integer"}},"buildNumber":{"type":"integer"},"buildDate":{"type":"string"},"serverTime":{"type":"string"},"scmInfo":{"type":"string"},"buildPartnerName":{"type":"string"},"serverTitle":{"type":"string"},"healthChecks":{"type":"array","items":{"title":"Health Check Result","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"passed":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/priority"><ns2:method id="getPriorities"
                    name="GET"><ns2:doc><![CDATA[Returns a list of all issue priorities.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a list of Jira Priorities]]></ns2:doc><ns2:representation
                        element="list of priorities"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/priority/3","statusColor":"#009900","description":"Major loss of function.","iconUrl":"http://www.example.com/jira/images/icons/priorities/major.png","name":"Major"},{"self":"http://www.example.com/jira/rest/api/2/priority/5","statusColor":"#cfcfcf","description":"Very little impact.","iconUrl":"http://www.example.com/jira/images/icons/priorities/trivial.png","name":"Trivial"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the priorities exists and the user has permission to view it. Contains a full representation of
 the priority in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-priority#","title":"List of Priority","type":"array","items":{"title":"Priority","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the priority id]]></ns2:doc></ns2:param><ns2:method
                    id="getPriority"
                        name="GET"><ns2:doc><![CDATA[Returns an issue priority.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing the requested issue priority]]></ns2:doc><ns2:representation
                            element="issuePriority"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/priority/3","statusColor":"#009900","description":"Major loss of function.","iconUrl":"http://www.example.com/jira/images/icons/priorities/major.png","name":"Major"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue priority exists and is visible by the calling user. Contains a full representation of
 the issue priority in JSON.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/priority#","title":"Priority","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a response containing the requested issue priority]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue priority does not exist or is not visible to the calling user.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/issuetype"><ns2:method id="getIssueAllTypes"
                    name="GET"><ns2:doc><![CDATA[Returns a list of all issue types visible to the user]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a list of issue types]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/3","id":"3","description":"A task that needs to be done.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/task.png","name":"Task","subtask":false,"avatarId":1},{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/1","id":"1","description":"A problem with the software.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false,"avatarId":10002}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue type exists and is visible by the calling user.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-issue-type#","title":"List of Issue Type","type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="createIssueType"
                        name="POST"><ns2:doc><![CDATA[Creates an issue type from a JSON representation and adds the issue newly created issue type to the default issue
 type scheme.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"name","description":"description","type":"standard"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type-create#","title":"Issue Type Create","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["subtask","standard"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:representation
                        element="issueType"
                                mediaType="application/json"><ns2:doc><![CDATA[Returned if the issue type was successfully created.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type#","title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid. This happens when the name is invalid or issue type is subtask on instance
 which has subtasks disabled.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer JIRA.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="409"><ns2:representation><ns2:doc><![CDATA[Returned if there already exists an issue type with the specified name.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the issue type to update.]]></ns2:doc></ns2:param><ns2:method
                    id="getIssueType"
                        name="GET"><ns2:doc><![CDATA[Returns a full representation of the issue type that has the given id.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a full representation of the issue type with the given id]]></ns2:doc><ns2:representation
                            element="issueType"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/3","id":"3","description":"A task that needs to be done.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/task.png","name":"Task","subtask":false,"avatarId":1}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue type exists and is visible by the calling user.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type#","title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a full representation of the issue type with the given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type does not exist, or is not visible to the calling user.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteIssueType"
                            name="DELETE"><ns2:doc><![CDATA[Deletes the specified issue type. If the issue type has any associated issues, these issues will be migrated to
 the alternative issue type specified in the parameter. You can determine the alternative issue types by calling
 the <b>/rest/api/2/issuetype/{id}/alternatives</b> resource.]]></ns2:doc><ns2:request><ns2:param
                            name="alternativeIssueTypeId" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of an issue type to which issues associated with the removed issue type will be migrated.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid. It happens when there are associated issues with the issue type which is being removed,
 but it is impossible to migrate these issues to the alternative issue type.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="204"><ns2:representation
                        mediaType="application/json"><ns2:doc><![CDATA[Returned if the issue type was successfully removed.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer JIRA.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the issue type which is supposed to be removed does not exist or the alternative issue type does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateIssueType"
                            name="PUT"><ns2:doc><![CDATA[Updates the specified issue type from a JSON representation.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"name","description":"description","avatarId":1}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type-update#","title":"Issue Type Update","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"avatarId":{"type":"integer"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:representation
                            element="issueType"
                                    mediaType="application/json"><ns2:doc><![CDATA[Returned if the issue type was successfully updated.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type#","title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid. This happens when the name is invalid or if the avatar with given id
 does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer JIRA.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the issue type to update does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="409"><ns2:representation><ns2:doc><![CDATA[Returned if there already exists an issue type with the specified name.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/avatar"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the issue type, which avatar is updated.]]></ns2:doc></ns2:param><ns2:method
                    id="createAvatarFromTemporary"
                            name="POST"><ns2:doc><![CDATA[Converts temporary avatar into a real avatar]]></ns2:doc><ns2:request><ns2:representation
                            element="avatarCroppingBean"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"needsCropping":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"1000","owner":"fred","isSystemAvatar":true,"isSelected":false,"isDeletable":false,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10040","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10040","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10040","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10040"},"selected":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns created avatar]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar#","title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the cropping coordinates are invalid]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while converting temporary avatar to real avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to pick avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have EDIT PROJECT permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/avatar/temporary"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the issue type, which avatar is updated.]]></ns2:doc></ns2:param><ns2:method
                    id="storeTemporaryAvatar"
                            name="POST"><ns2:doc><![CDATA[Creates temporary avatar. Creating a temporary avatar is part of a 3-step process in uploading a new
 avatar for an issue type: upload, crop, confirm.
 <p>
 The following examples shows these three steps using curl.
 The cookies (session) need to be preserved between requests, hence the use of -b and -c.
 The id created in step 2 needs to be passed to step 3
 (you can simply pass the whole response of step 2 as the request of step 3).
 </p>
 <p>
 <pre>
 curl -c cookiejar.txt -X POST -u admin:admin -H "X-Atlassian-Token: no-check" \
   -H "Content-Type: image/png" --data-binary @mynewavatar.png \
   'http://localhost:8090/jira/rest/api/2/issuetype/1/avatar/temporary?filename=mynewavatar.png'

 curl -b cookiejar.txt -X POST -u admin:admin -H "X-Atlassian-Token: no-check" \
   -H "Content-Type: application/json" --data '{"cropperWidth": "65","cropperOffsetX": "10","cropperOffsetY": "16"}' \
   -o tmpid.json \
   http://localhost:8090/jira/rest/api/2/issuetype/1/avatar

 curl -b cookiejar.txt -X PUT -u admin:admin -H "X-Atlassian-Token: no-check" \
   -H "Content-Type: application/json" --data-binary @tmpid.json \
   http://localhost:8090/jira/rest/api/2/issuetype/1/avatar
 </pre>]]></ns2:doc><ns2:request><ns2:param
                            name="filename" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[name of file being uploaded]]></ns2:doc></ns2:param><ns2:param
                            name="size" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[size of file]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"url":"http://example.com/jira/secure/temporaryavatar?cropped=true","needsCropping":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer JIRA.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type to update does not exist or if the request does not contain valid XSRF token.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="storeTemporaryAvatarUsingMultiPart"
                        name="POST"><ns2:doc><![CDATA[Creates temporary avatar using multipart. The response is sent back as JSON stored in a textarea. This is because
 the client uses remote iframing to submit avatars using multipart. So we must send them a valid HTML page back from
 which the client parses the JSON from.
 <p>
 Creating a temporary avatar is part of a 3-step process in uploading a new
 avatar for an issue type: upload, crop, confirm. This endpoint allows you to use a multipart upload
 instead of sending the image directly as the request body.
 </p>
 <p>
 You *must* use "avatar" as the name of the upload parameter:</p>
 <p>
 <pre>
 curl -c cookiejar.txt -X POST -u admin:admin -H "X-Atlassian-Token: no-check" \
   -F "avatar=@mynewavatar.png;type=image/png" \
   'http://localhost:8090/jira/rest/api/2/issuetype/1/avatar/temporary'
 </pre>]]></ns2:doc><ns2:response
                            status="201"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="text/html"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"url":"http://example.com/jira/secure/temporaryavatar?cropped=true","needsCropping":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[temporary avatar cropping instructions embeded in HTML page. Error messages will also be embeded in the page.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer JIRA.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type to update does not exist or if the request does not contain valid XSRF token.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/alternatives"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getAlternativeIssueTypes"
                        name="GET"><ns2:doc><![CDATA[Returns a list of all alternative issue types for the given issue type id. The list will contain these issues types, to which
 issues assigned to the given issue type can be migrated. The suitable alternatives are issue types which are assigned
 to the same workflow, the same field configuration and the same screen scheme.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a list of issue types]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/3","id":"3","description":"A task that needs to be done.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/task.png","name":"Task","subtask":false,"avatarId":1},{"self":"http://localhost:8090/jira/rest/api/2.0/issueType/1","id":"1","description":"A problem with the software.","iconUrl":"http://localhost:8090/jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false,"avatarId":10002}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue type exists and is visible by the calling user.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-issue-type#","title":"List of Issue Type","type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a list of issue types]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type does not exist, or is not visible to the calling user.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/password"><ns2:doc><![CDATA[REST resource for operations related to passwords and the password policy.]]></ns2:doc><ns2:resource
                    path="policy"><ns2:method id="getPasswordPolicy"
                            name="GET"><ns2:doc><![CDATA[Returns user-friendly statements governing the system's password policy.]]></ns2:doc><ns2:request><ns2:param
                            name="hasOldPassword" style="query"
                            type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[whether or not the user will be required to enter their current password.  Use
                       {@code false} (the default) if this is a new user or if an administrator is forcibly changing
                       another user's password.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing a JSON array of the user-facing messages.  If no policy is set, then
 this will be an empty list.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns an array of message strings.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"array","items":{"type":"string"}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="policy/createUser"><ns2:method
                    id="policyCheckCreateUser"
                            name="POST"><ns2:doc><![CDATA[Returns user-friendly explanations of why the password policy would disallow a proposed user from being
 created.
 <p>
 This is a "dry run" of the password policy validation that would be performed by the various user creation
 methods in {@link com.atlassian.jira.bc.user.UserService}.  The intended use is for a user interface to
 verify the password on the fly as the user enters it (or upon moving to another input field or delaying
 for some time period, and so on).  At the very least, the username and password must be non-empty to run
 these validations.  Note that this validation is only for the password policy itself; other validations,
 such as whether or not a user with the same name already exists, are not checked by this request.
 </p>]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"username":"fred","displayName":"Fred Normal","emailAddress":"fred@example.com","password":"secret"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/password-policy-create-user#","title":"Password Policy Create User","type":"object","properties":{"username":{"type":"string"},"displayName":{"type":"string"},"emailAddress":{"type":"string"},"password":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing a JSON array of the user-facing messages.  If no policy is set, then
 this will be an empty list.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns an array of message strings.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"array","items":{"type":"string"}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="400"><ns2:doc><![CDATA[a response containing a JSON array of the user-facing messages.  If no policy is set, then
 this will be an empty list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid, such as if the username or password is left unspecified.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="policy/updateUser"><ns2:method
                    id="policyCheckUpdateUser"
                            name="POST"><ns2:doc><![CDATA[Returns user-friendly explanations of why the password policy would disallow an existing user's password
 from being updated.
 <p>
 This is a "dry run" of the password policy validation that would be performed by the various ways to
 update a user's password, such as the {@link com.atlassian.jira.web.action.user.ChangePassword ChangePassword}
 and {@link com.atlassian.jira.web.action.user.ResetPassword ResetPassword} web actions.
 The intended use is for a user interface to verify the password on the fly as the user enters it (or upon
 moving to another input field or delaying for some time period, and so on).  At the very least, the username
 and new password must be non-empty to run these validations, and the user must actually exist.  Note that this
 validation is only for the password policy itself; other validations that would be performed upon submitting
 the request are not checked by this request.  In particular, the old password (if specified) is deliberately
 not verified by this request, as doing so could cause security problems.
 </p>]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"username":"fred","oldPassword":"secret","newPassword":"correcthorsebatterystaple"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/password-policy-update-user#","title":"Password Policy Update User","type":"object","properties":{"username":{"type":"string"},"oldPassword":{"type":"string"},"newPassword":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing a JSON array of the user-facing messages.  If no policy is set, then
 this will be an empty list.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns an array of message strings.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"array","items":{"type":"string"}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing a JSON array of the user-facing messages.  If no policy is set, then
 this will be an empty list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid, such as if the username or new password is left unspecified.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a response containing a JSON array of the user-facing messages.  If no policy is set, then
 this will be an empty list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the username does not correspond to any existing user.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/issueLinkType"><ns2:doc><![CDATA[Rest resource to retrieve a list of issue link types.]]></ns2:doc><ns2:method
                id="getIssueLinkTypes"
                    name="GET"><ns2:doc><![CDATA[Returns a list of available issue link types, if issue linking is enabled.
 Each issue link type has an id, a name and a label for the outward and inward link relationship.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a list of available issue link types.]]></ns2:doc><ns2:representation
                        element="issueLinkTypes"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issueLinkTypes":[{"id":"1000","name":"Duplicate","inward":"Duplicated by","outward":"Duplicates","self":"http://www.example.com/jira/rest/api/2//issueLinkType/1000"},{"id":"1010","name":"Blocks","inward":"Blocked by","outward":"Blocks","self":"http://www.example.com/jira/rest/api/2//issueLinkType/1010"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of all available issue link types.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-link-types#","title":"Issue Link Types","type":"object","properties":{"issueLinkTypes":{"type":"array","items":{"title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a list of available issue link types.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if issue linking is disabled.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="createIssueLinkType"
                        name="POST"><ns2:doc><![CDATA[Create a new issue link type.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Duplicate","inward":"Duplicated by","outward":"Duplicates"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-link-type#","title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:representation
                        element="issueLinkType"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"1000","name":"Duplicate","inward":"Duplicated by","outward":"Duplicates","self":"http://www.example.com/jira/rest/api/2//issueLinkType/1000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The new issue link type has been created.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-link-type#","title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Issue linking is disabled or you do not have permission to create issue link types.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="/{issueLinkTypeId}"><ns2:param
                    name="issueLinkTypeId" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="deleteIssueLinkType"
                        name="DELETE"><ns2:doc><![CDATA[Delete the specified issue link type.]]></ns2:doc><ns2:response
                            status="204"><ns2:doc><![CDATA[Returns NO_CONTENT if successful.]]></ns2:doc><ns2:representation
                        element="issueLinkType"/></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[Returns NO_CONTENT if successful.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if issue linking is disabled or no issue link type with the given id exists.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateIssueLinkType"
                            name="PUT"><ns2:doc><![CDATA[Update the specified issue link type.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Duplicate","inward":"Duplicated by","outward":"Duplicates"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-link-type#","title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"1000","name":"Duplicate","inward":"Duplicated by","outward":"Duplicates","self":"http://www.example.com/jira/rest/api/2//issueLinkType/1000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-link-type#","title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the supplied id is not a number.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if issue linking is disabled or no issue link type with the given id exists.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getIssueLinkType"
                        name="GET"><ns2:doc><![CDATA[Returns for a given issue link type id all information about this issue link type.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[returns information about an issue link type. Containing the id, name and inward and outward description for
 this link.]]></ns2:doc><ns2:representation
                            element="issueLinkType"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"1000","name":"Duplicate","inward":"Duplicated by","outward":"Duplicates","self":"http://www.example.com/jira/rest/api/2//issueLinkType/1000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the issue link type with the given id.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-link-type#","title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[returns information about an issue link type. Containing the id, name and inward and outward description for
 this link.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if issue linking is disabled or no issue link type with the given id exists.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/attachment"><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of the attachment to remove]]></ns2:doc></ns2:param><ns2:method
                    id="getAttachment"
                        name="GET"><ns2:doc><![CDATA[Returns the meta-data for an attachment, including the URI of the actual attached file.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation
                            element="attachment"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2.0/attachments/10000","filename":"picture.jpg","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.461+0000","size":23123,"mimeType":"image/jpeg","content":"http://www.example.com/jira/attachments/10000","thumbnail":"http://www.example.com/jira/secure/thumbnail/10000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[JSON representation of the attachment meta-data. The representation does not contain the attachment itself,
 but contains a URI that can be used to download the actual attached file.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/attachment#","title":"Attachment","type":"object","properties":{"self":{"type":"string","format":"uri"},"filename":{"type":"string"},"author":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"created":{"type":"string"},"size":{"type":"integer"},"mimeType":{"type":"string"},"properties":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"content":{"type":"string"},"thumbnail":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false,"required":["size"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[The calling user is not permitted to view the requested attachment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Any of:
 <ul>
 <li>there is no attachment with the requested id</li>
 <li>attachments feature is disabled</li>
 </ul>]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="removeAttachment"
                        name="DELETE"><ns2:doc><![CDATA[Remove an attachment from an issue.]]></ns2:doc><ns2:response
                        status="204"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Removal was successful]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[The calling user is not permitted to remove the requested attachment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Any of:
 <ul>
 <li>there is no attachment with the requested id</li>
 <li>attachments feature is disabled</li>
 </ul>]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="meta"><ns2:method id="getAttachmentMeta"
                        name="GET"><ns2:doc><![CDATA[Returns the meta information for an attachments, specifically if they are enabled and the maximum upload size
 allowed.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a JSON representation of the enable attachment capabilities]]></ns2:doc><ns2:representation
                            element="attachmentMeta"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"enabled":true,"uploadLimit":1000000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[JSON representation of the attachment capabilities.
 Consumers of this resource may also need to check if the logged in user has permission to upload or
 otherwise manipulate attachments using the {@link com.atlassian.jira.rest.v2.permission.PermissionsResource}.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/attachment-meta#","title":"Attachment Meta","type":"object","properties":{"enabled":{"type":"boolean"},"uploadLimit":{"type":"integer"}},"additionalProperties":false,"required":["enabled"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/expand/raw"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the attachment to expand.]]></ns2:doc></ns2:param><ns2:method
                    id="expandForMachines" name="GET"
                        experimental="true"><ns2:doc><![CDATA[Tries to expand an attachment. Output is raw and should be backwards-compatible through the course of time.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation
                            element="raw attachment contents"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"entries":[{"entryIndex":0,"name":"Allegro from Duet in C Major.mp3","size":1430174,"mediaType":"audio/mpeg"},{"entryIndex":1,"name":"lrm.rtf","size":331,"mediaType":"text/rtf"}],"totalEntryCount":24}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[JSON representation of the attachment expanded contents. Empty entry list means that attachment cannot
 be expanded. It's either empty, corrupt or not an archive at all.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/attachment-archive-impl#","title":"Attachment Archive Impl","type":"object","properties":{"entries":{"type":"array","items":{"title":"Attachment Archive Entry","type":"object","properties":{"abbreviatedName":{"type":"string"},"entryIndex":{"type":"integer"},"mediaType":{"type":"string"},"name":{"type":"string"},"size":{"type":"integer"}},"additionalProperties":false,"required":["entryIndex","size"]}},"totalEntryCount":{"type":"integer"}},"additionalProperties":false,"required":["totalEntryCount"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[The calling user is not permitted to view the requested attachment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="404"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Any of:
 <ul>
 <li>there is no attachment with the requested id</li>
 <li>attachments feature is disabled</li>
 </ul>]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="409"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[The archive format is not supported.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/expand/human"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the attachment to expand.]]></ns2:doc></ns2:param><ns2:method
                    id="expandForHumans" name="GET"
                        experimental="true"><ns2:doc><![CDATA[Tries to expand an attachment. Output is human-readable and subject to change.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation
                            element="human readable attachment contents"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":7237823,"name":"images.zip","entries":[{"path":"MG00N067.JPG","index":0,"size":"119 kB","mediaType":"image/jpeg","label":"MG00N067.JPG"},{"path":"Allegro from Duet in C Major.mp3","index":1,"size":"1.36 MB","mediaType":"audio/mpeg","label":"Allegro from Duet in C Major.mp3"},{"path":"long/path/thanks/to/lots/of/subdirectories/inside/making/it/quite/hard/to/reach/the/leaf.txt","index":2,"size":"0.0 k","mediaType":"text/plain","label":"long/path/thanks/to/.../reach/the/leaf.txt"}],"totalEntryCount":39,"mediaType":"application/zip"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[JSON representation of the attachment expanded contents. Empty entry list means that attachment cannot
 be expanded. It's either empty, corrupt or not an archive at all.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/human-readable-archive#","title":"Human Readable Archive","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"entries":{"type":"array","items":{"title":"Human Readable Archive Entry","type":"object","properties":{"path":{"type":"string"},"index":{"type":"integer"},"size":{"type":"string"},"mediaType":{"type":"string"},"label":{"type":"string"}},"additionalProperties":false,"required":["index"]}},"totalEntryCount":{"type":"integer"},"mediaType":{"type":"string"}},"additionalProperties":false,"required":["id","totalEntryCount"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[The calling user is not permitted to view the requested attachment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="404"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Any of:
 <ul>
 <li>there is no attachment with the requested id</li>
 <li>attachments feature is disabled</li>
 </ul>]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="409"><ns2:doc><![CDATA[A response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[The archive format is not supported.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/mypreferences"><ns2:doc><![CDATA[Provide preferences of the currently logged in user.]]></ns2:doc><ns2:method
                id="setPreference"
                        name="PUT"><ns2:doc><![CDATA[Sets preference of the currently logged in user. Preference key must be provided as input parameters (key). Value
 must be provided as post body. If key or value parameter is not provided - status code 404. If preference is set
 - status code 204.]]></ns2:doc><ns2:request><ns2:param
                        name="key" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- key of the preference to be set.]]></ns2:doc></ns2:param><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/string#","title":"String","type":"string"}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method><ns2:method
                id="removePreference"
                        name="DELETE"><ns2:doc><![CDATA[Removes preference of the currently logged in user. Preference key must be provided as input parameters (key). If
 key parameter is not provided or wrong - status code 404. If preference is unset - status code 204.]]></ns2:doc><ns2:request><ns2:param
                        name="key" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- key of the preference to be removed.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method><ns2:method
                id="getPreference"
                        name="GET"><ns2:doc><![CDATA[Returns preference of the currently logged in user. Preference key must be provided as input parameter (key). The
 value is returned exactly as it is. If key parameter is not provided or wrong - status code 404. If value is
 found  - status code 200.]]></ns2:doc><ns2:request><ns2:param
                        name="key" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- key of the preference to be returned.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status=""><ns2:representation
            mediaType="application/json"/></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/user"><ns2:method id="getUser"
                        name="GET"><ns2:doc><![CDATA[Returns a user. This resource cannot be accessed anonymously.]]></ns2:doc><ns2:request><ns2:param
                        name="username" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username]]></ns2:doc></ns2:param><ns2:param
                        name="key" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[user key]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:representation element="user"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[{"name":"jira-user","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-user"},{"name":"jira-admin","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-admin"},{"name":"important","self":"http://www.example.com/jira/rest/api/2/group?groupname=important"}]},"applicationRoles":{"size":1,"items":[]},"expand":"groups,applicationRoles"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user#","title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false,"required":["active"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested user is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="updateUser" name="PUT"
                        experimental="true"><ns2:doc><![CDATA[Modify user. The "value" fields present will override the existing value.
 Fields skipped in request will not be changed.]]></ns2:doc><ns2:request><ns2:param
                        name="username" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username]]></ns2:doc></ns2:param><ns2:param
                        name="key" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[user key]]></ns2:doc></ns2:param><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"eddie","emailAddress":"eddie@atlassian.com","displayName":"Eddie of Atlassian"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user-write#","title":"User Write","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"password":{"type":"string"},"emailAddress":{"type":"string"},"displayName":{"type":"string"},"notification":{"type":"string"},"applicationKeys":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation
                        element="user"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jirahttp://www.example.com/jira/rest/api/2/user/charlie","key":"charlie","name":"charlie","emailAddress":"charlie@atlassian.com","displayName":"Charlie of Atlassian"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user exists and the caller has permission to edit it.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user#","title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false,"required":["active"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller user does not have permission to edit the user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller does have permission to edit the user but the user does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="createUser" name="POST"
                        experimental="true"><ns2:doc><![CDATA[Create user. By default created user will not be notified with email.
 If password field is not set then password will be randomly generated.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"charlie","password":"abracadabra","emailAddress":"charlie@atlassian.com","displayName":"Charlie of Atlassian","applicationKeys":["jira-core"]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user-write#","title":"User Write","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"password":{"type":"string"},"emailAddress":{"type":"string"},"displayName":{"type":"string"},"notification":{"type":"string"},"applicationKeys":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                status="201"><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jirahttp://www.example.com/jira/rest/api/2/user/charlie","key":"charlie","name":"charlie","emailAddress":"charlie@atlassian.com","displayName":"Charlie of Atlassian"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user was created.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user#","title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false,"required":["active"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="500"><ns2:representation><ns2:doc><![CDATA[Returned if the user was not created because of other error.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the caller user does not have permission to create the user.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="removeUser" name="DELETE"
                        experimental="true"><ns2:doc><![CDATA[Removes user.]]></ns2:doc><ns2:request><ns2:param
                        name="username" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username]]></ns2:doc></ns2:param><ns2:param
                        name="key" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[user key]]></ns2:doc></ns2:param></ns2:request><ns2:response
                    status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid or some other server error occurred.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="204"><ns2:representation><ns2:doc><![CDATA[Returned if the user was deleted successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the caller does not have permission to remove the user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the caller does have permission to remove user but the user does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="search"><ns2:method id="findUsers"
                            name="GET"><ns2:doc><![CDATA[Returns a list of users that match the search string. This resource cannot be accessed anonymously.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[A query string used to search username, name or e-mail address]]></ns2:doc></ns2:param><ns2:param
                            name="startAt" style="query" type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first user to return (0-based)]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (defaults to 50). The maximum allowed value is 1000.
                        If you specify a value that is higher than this number, your search results will be truncated.]]></ns2:doc></ns2:param><ns2:param
                            name="includeActive" style="query"
                            type="xs:boolean"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[If true, then active users are included in the results (default true)]]></ns2:doc></ns2:param><ns2:param
                            name="includeInactive" style="query"
                            type="xs:boolean"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[If true, then inactive users are included in the results (default false)]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[A list of user objects that match the username provided]]></ns2:doc><ns2:representation
                            element="List of users"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},{"self":"http://www.example.com/jira/rest/api/2/user?username=andrew","name":"andrew","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=andrew","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=andrew","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=andrew","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=andrew"},"displayName":"Andrew Anderson","active":false}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-user#","title":"List of User","type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[A list of user objects that match the username provided]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[A list of user objects that match the username provided]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested user is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="picker"><ns2:method id="findUsersForPicker"
                            name="GET"><ns2:doc><![CDATA[Returns a list of users matching query with highlighting. This resource cannot be accessed anonymously.]]></ns2:doc><ns2:request><ns2:param
                            name="query" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[A string used to search username, Name or e-mail address]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (defaults to 50). The maximum allowed value is 1000.
                   If you specify a value that is higher than this number, your search results will be truncated.]]></ns2:doc></ns2:param><ns2:param
                            name="showAvatar" style="query"
                            type="xs:boolean"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                            name="exclude" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[An object containing list of matched user objects, with html representing highlighting.]]></ns2:doc><ns2:representation
                            element="List of users"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"users":[{"name":"fred","key":"fred","html":"fred@example.com","displayName":"Fred Grumble","avatarUrl":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred"}],"total":25,"header":"Showing 20 of 25 matching groups"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user-picker-results#","title":"User Picker Results","type":"object","properties":{"users":{"type":"array","items":{"title":"User Picker User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"html":{"type":"string"},"displayName":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}},"total":{"type":"integer"},"header":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[An object containing list of matched user objects, with html representing highlighting.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[An object containing list of matched user objects, with html representing highlighting.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested user is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="assignable/search"><ns2:method
                    id="findAssignableUsers"
                            name="GET"><ns2:doc><![CDATA[Returns a list of users that match the search string. This resource cannot be accessed anonymously.
 Please note that this resource should be called with an issue key when a list of assignable users is retrieved
 for editing.  For create only a project key should be supplied.  The list of assignable users may be incorrect
 if it's called with the project key for editing.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username]]></ns2:doc></ns2:param><ns2:param
                            name="project" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the project we are finding assignable users for]]></ns2:doc></ns2:param><ns2:param
                            name="issueKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue key for the issue being edited we need to find assignable users for.]]></ns2:doc></ns2:param><ns2:param
                            name="startAt" style="query" type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first user to return (0-based)]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (defaults to 50). The maximum allowed value is 1000.
                   If you specify a value that is higher than this number, your search results will be truncated.]]></ns2:doc></ns2:param><ns2:param
                            name="actionDescriptorId" style="query"
                            type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation
                            element="user"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[{"name":"jira-user","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-user"},{"name":"jira-admin","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-admin"},{"name":"important","self":"http://www.example.com/jira/rest/api/2/group?groupname=important"}]},"applicationRoles":{"size":1,"items":[]},"expand":"groups,applicationRoles"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-user#","title":"List of User","type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if no project or issue key was provided]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested user is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="password"><ns2:method id="changeUserPassword"
                    name="PUT"
                            experimental="true"><ns2:doc><![CDATA[Modify user password.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username]]></ns2:doc></ns2:param><ns2:param
                            name="key" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[user key]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"password":"new password"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/password#","title":"Password","type":"object","properties":{"password":{"type":"string"},"currentPassword":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[Returned if the user exists and the caller has permission to edit it.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the caller does not have permission to change the user password.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the caller does have permission to change user password but the user does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="viewissue/search"><ns2:method
                    id="findUsersWithBrowsePermission"
                            name="GET"><ns2:doc><![CDATA[Returns a list of active users that match the search string. This resource cannot be accessed anonymously 
 and requires the Browse Users global permission.
 Given an issue key this resource will provide a list of users that match the search string and have
 the browse issue permission for the issue provided.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username filter, no users returned if left blank]]></ns2:doc></ns2:param><ns2:param
                            name="issueKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue key for the issue being edited we need to find viewable users for.]]></ns2:doc></ns2:param><ns2:param
                            name="projectKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the optional project key to search for users with if no issueKey is supplied.]]></ns2:doc></ns2:param><ns2:param
                            name="startAt" style="query" type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first user to return (0-based)]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (defaults to 50). The maximum allowed value is 1000.
                   If you specify a value that is higher than this number, your search results will be truncated.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation
                            element="List of users"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},{"self":"http://www.example.com/jira/rest/api/2/user?username=andrew","name":"andrew","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=andrew","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=andrew","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=andrew","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=andrew"},"displayName":"Andrew Anderson","active":false}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-user#","title":"List of User","type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if no project or issue key was provided]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue or project is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="permission/search"><ns2:method
                    id="findUsersWithAllPermissions"
                            name="GET"><ns2:doc><![CDATA[Returns a list of active users that match the search string and have all specified permissions for the project or issue.<br>
 This resource can be accessed by users with ADMINISTER_PROJECT permission for the project or global ADMIN or SYSADMIN rights.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username filter, list includes all users if unspecified]]></ns2:doc></ns2:param><ns2:param
                            name="permissions" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[comma separated list of permissions for project or issue returned users must have, see
                    <a href="https://developer.atlassian.com/static/javadoc/jira/6.0/reference/com/atlassian/jira/security/Permissions.Permission.html">Permissions</a>
                    JavaDoc for the list of all possible permissions.]]></ns2:doc></ns2:param><ns2:param
                            name="issueKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue key for the issue for which returned users have specified permissions.]]></ns2:doc></ns2:param><ns2:param
                            name="projectKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the optional project key to search for users with if no issueKey is supplied.]]></ns2:doc></ns2:param><ns2:param
                            name="startAt" style="query" type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first user to return (0-based)]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (defaults to 50). The maximum allowed value is 1000.
                    If you specify a value that is higher than this number, your search results will be truncated.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation
                            element="List of users"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},{"self":"http://www.example.com/jira/rest/api/2/user?username=andrew","name":"andrew","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=andrew","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=andrew","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=andrew","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=andrew"},"displayName":"Andrew Anderson","active":false}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-user#","title":"List of User","type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if no project or issue key was provided or when permissions list is empty or contains an invalid entry]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user does not have admin rights for the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a Response with the users matching the query]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue or project is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="assignable/multiProjectSearch"><ns2:method
                    id="findBulkAssignableUsers"
                            name="GET"><ns2:doc><![CDATA[Returns a list of users that match the search string and can be assigned issues for all the given projects.
 This resource cannot be accessed anonymously.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username]]></ns2:doc></ns2:param><ns2:param
                            name="projectKeys" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the keys of the projects we are finding assignable users for, comma-separated]]></ns2:doc></ns2:param><ns2:param
                            name="startAt" style="query" type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first user to return (0-based)]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (defaults to 50). The maximum allowed value is 1000.
                       If you specify a value that is higher than this number, your search results will be truncated.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:representation
                            element="user"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},{"self":"http://www.example.com/jira/rest/api/2/user?username=andrew","name":"andrew","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=andrew","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=andrew","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=andrew","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=andrew"},"displayName":"Andrew Anderson","active":false}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-user#","title":"List of User","type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested user is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="avatars"><ns2:method id="getAllAvatars"
                            name="GET"><ns2:doc><![CDATA[Returns all avatars which are visible for the currently logged in user.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[all avatars for given user, which the logged in user has permission to see]]></ns2:doc><ns2:representation
                            element="avatars"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"system":[{"id":"1000","owner":"fred","isSystemAvatar":true,"isSelected":false,"isDeletable":false,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10040","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10040","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10040","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10040"},"selected":false}],"custom":[{"id":"1010","owner":"andrew","isSystemAvatar":false,"isSelected":false,"isDeletable":true,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10080","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10080","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10080","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10080"},"selected":false}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a map containing a list of avatars for both custom an system avatars]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"object","patternProperties":{".+":{"type":"array","items":{"title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[all avatars for given user, which the logged in user has permission to see]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[all avatars for given user, which the logged in user has permission to see]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the list of avatars.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[all avatars for given user, which the logged in user has permission to see]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested user is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="avatar"><ns2:method
                    id="createAvatarFromTemporary"
                            name="POST"><ns2:doc><![CDATA[Converts temporary avatar into a real avatar]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param><ns2:representation
                            element="avatarCroppingBean"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"needsCropping":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"1000","owner":"fred","isSystemAvatar":true,"isSelected":false,"isDeletable":false,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10040","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10040","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10040","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10040"},"selected":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns created avatar]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar#","title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the cropping coordinates are invalid]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while converting temporary avatar to real avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to pick avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[created avatar]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have EDIT PROJECT permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateProjectAvatar"
                            name="PUT"><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar#","title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="avatar/temporary"><ns2:method
                    id="storeTemporaryAvatar"
                            name="POST"><ns2:doc><![CDATA[Creates temporary avatar. Creating a temporary avatar is part of a 3-step process in uploading a new
 avatar for a user: upload, crop, confirm.
 <p>
 The following examples shows these three steps using curl.
 The cookies (session) need to be preserved between requests, hence the use of -b and -c.
 The id created in step 2 needs to be passed to step 3
 (you can simply pass the whole response of step 2 as the request of step 3).
 </p>
 <p/>
 <pre>
 curl -c cookiejar.txt -X POST -u admin:admin -H "X-Atlassian-Token: no-check" \
   -H "Content-Type: image/png" --data-binary @mynewavatar.png \
   'http://localhost:8090/jira/rest/api/2/user/avatar/temporary?username=admin&amp;filename=mynewavatar.png'

 curl -b cookiejar.txt -X POST -u admin:admin -H "X-Atlassian-Token: no-check" \
   -H "Content-Type: application/json" --data '{"cropperWidth": "65","cropperOffsetX": "10","cropperOffsetY": "16"}' \
   -o tmpid.json \
   http://localhost:8090/jira/rest/api/2/user/avatar?username=admin

 curl -b cookiejar.txt -X PUT -u admin:admin -H "X-Atlassian-Token: no-check" \
   -H "Content-Type: application/json" --data-binary @tmpid.json \
   http://localhost:8090/jira/rest/api/2/user/avatar?username=admin
 </pre>]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param><ns2:param
                            name="filename" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[name of file being uploaded]]></ns2:doc></ns2:param><ns2:param
                            name="size" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[size of file]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"url":"http://example.com/jira/secure/temporaryavatar?cropped=true","needsCropping":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while converting temporary avatar to real avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request does not conain a valid XSRF token]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have EDIT PROJECT permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="storeTemporaryAvatarUsingMultiPart"
                            name="POST"><ns2:doc><![CDATA[Creates temporary avatar using multipart. The response is sent back as JSON stored in a textarea. This is because
 the client uses remote iframing to submit avatars using multipart. So we must send them a valid HTML page back from
 which the client parses the JSON from.
 <p>
 Creating a temporary avatar is part of a 3-step process in uploading a new
 avatar for a user: upload, crop, confirm. This endpoint allows you to use a multipart upload
 instead of sending the image directly as the request body.
 </p>
 <p>
 You *must* use "avatar" as the name of the upload parameter:</p>
 <p/>
 <pre>
 curl -c cookiejar.txt -X POST -u admin:admin -H "X-Atlassian-Token: no-check" \
   -F "avatar=@mynewavatar.png;type=image/png" \
   'http://localhost:8090/jira/rest/api/2/user/avatar/temporary?username=admin'
 </pre>]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Username]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="text/html"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"url":"http://example.com/jira/secure/temporaryavatar?cropped=true","needsCropping":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[temporary avatar cropping instructions embeded in HTML page. Error messages will also be embeded in the page.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while converting temporary avatar to real avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user does NOT exist]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="avatar/{id}"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[database id for avatar]]></ns2:doc></ns2:param><ns2:method
                    id="deleteAvatar"
                            name="DELETE"><ns2:doc><![CDATA[Deletes avatar]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="204"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                        mediaType="application/json"><ns2:doc><![CDATA[Returned if the avatar is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to delete the avatar.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the avatar does not exist or the currently authenticated user does not have permission to
 delete it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="columns"><ns2:method id="defaultColumns"
                            name="GET"><ns2:doc><![CDATA[Returns the default columns for the given user. Admin permission will be required to get columns for a user
 other than the currently logged in user.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation
                            element="columns"
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns a list of columns for configured for the given user]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-column-item#","title":"List of Column Item","type":"array","items":{"title":"Column Item","type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not permitted to request the columns for the given user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the column configuration.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested user is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setColumns"
                            name="PUT"><ns2:doc><![CDATA[Sets the default columns for the given user.  Admin permission will be required to get columns for a user
 other than the currently logged in user.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/x-www-form-urlencoded"><ns2:param
                                name="username" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param><ns2:param
                                name="columns" style="query"
                                type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[list of column ids]]></ns2:doc></ns2:param></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when the columns is saved successfully]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="500"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the column configuration.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="resetColumns"
                            name="DELETE"><ns2:doc><![CDATA[Reset the default columns for the given user to the system default. Admin permission will be required to get
 columns for a user other than the currently logged in user.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="401"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not permitted to request the columns for the given user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while resetting the column configuration.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="204"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when the columns are reset successfully]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="application"><ns2:method
                    id="addUserToApplication" name="POST"
                            experimental="true"><ns2:doc><![CDATA[Add user to given application. Admin permission will be required to perform this operation.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param><ns2:param
                            name="applicationKey" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[application key]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user exists, the caller has permission to add user to application and user was successfully added to application.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller user does not have permission to add user to application.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="removeUserFromApplication" name="DELETE"
                            experimental="true"><ns2:doc><![CDATA[Remove user from given application. Admin permission will be required to perform this operation.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username]]></ns2:doc></ns2:param><ns2:param
                            name="applicationKey" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[application key]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user exists, the caller has permission to remove user from application
 and the user was successfully removed from application.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="403"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller user does not have permission to remove user from application.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/configuration"><ns2:method
                id="getConfiguration"
                    name="GET"><ns2:doc><![CDATA[Returns the information if the optional features in JIRA are enabled or disabled. If the time tracking is enabled,
 it also returns the detailed information about time tracking configuration.]]></ns2:doc><ns2:response
                        status="200"><ns2:representation
                        element="configuration"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"votingEnabled":true,"watchingEnabled":true,"unassignedIssuesAllowed":false,"subTasksEnabled":false,"issueLinkingEnabled":true,"timeTrackingEnabled":true,"attachmentsEnabled":true,"timeTrackingConfiguration":{"workingHoursPerDay":8.0,"workingDaysPerWeek":5.0,"timeFormat":"pretty","defaultUnit":"day"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned the configuration of optional features in JIRA.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/configuration#","title":"Configuration","type":"object","properties":{"votingEnabled":{"type":"boolean"},"watchingEnabled":{"type":"boolean"},"unassignedIssuesAllowed":{"type":"boolean"},"subTasksEnabled":{"type":"boolean"},"issueLinkingEnabled":{"type":"boolean"},"timeTrackingEnabled":{"type":"boolean"},"attachmentsEnabled":{"type":"boolean"},"timeTrackingConfiguration":{"title":"Time Tracking Configuration","type":"object","properties":{"workingHoursPerDay":{"type":"number"},"workingDaysPerWeek":{"type":"number"},"timeFormat":{"type":"string","enum":["pretty","days","hours"]},"defaultUnit":{"type":"string","enum":["minute","hour","day","week"]}},"additionalProperties":false,"required":["workingHoursPerDay","workingDaysPerWeek"]}},"additionalProperties":false,"required":["votingEnabled","watchingEnabled","unassignedIssuesAllowed","subTasksEnabled","issueLinkingEnabled","timeTrackingEnabled","attachmentsEnabled"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/project/{projectKeyOrId}/permissionscheme"><ns2:doc><![CDATA[Resource for associating permission schemes and projects.]]></ns2:doc><ns2:param
                name="projectKeyOrId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[key or id of the project]]></ns2:doc></ns2:param><ns2:method
                id="assignPermissionScheme"
                        name="PUT"><ns2:doc><![CDATA[Assigns a permission scheme with a project.]]></ns2:doc><ns2:request><ns2:param
                        name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/id#","title":"Id","type":"object","properties":{"id":{"type":"integer"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[The newly associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation
                        element="permissionScheme"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/10000","name":"Example permission scheme","description":"description"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Shortened details of the newly associated permission scheme.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-scheme#","title":"Permission Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[The newly associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[The newly associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have permissions to edit project's permission schemes. In practice the user needs to be a JIRA administrator.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[The newly associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project or permission scheme is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="getAssignedPermissionScheme"
                        name="GET"><ns2:doc><![CDATA[Gets a permission scheme assigned with a project.]]></ns2:doc><ns2:request><ns2:param
                        name="expand" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[The associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation
                        element="permissionScheme"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/10000","name":"Example permission scheme","description":"description"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The associated permission scheme.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-scheme#","title":"Permission Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[The associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[The associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have permissions to view the project's configuration. In practice the user needs to be
 a JRA administrator or the project's administrator to get the assigned permission scheme.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[The associated permission scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found (or the user does not have permissions to view the project).]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="auth/1/websudo"><ns2:method id="release"
                    name="DELETE"><ns2:doc><![CDATA[This method invalidates the any current WebSudo session.]]></ns2:doc><ns2:response
            status="204"><ns2:doc><![CDATA[OK]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if no error occurs]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/universal_avatar"><ns2:resource
                    path="type/{type}/owner/{owningObjectId}/avatar"><ns2:param
                    name="type" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                    name="owningObjectId" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="createAvatarFromTemporary"
                            name="POST"><ns2:request><ns2:representation
                            element="avatarCroppingBean"
                                    mediaType="application/json"><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="type/{type}/owner/{owningObjectId}/temp"><ns2:param
                    name="type" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                    name="owningObjectId" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="storeTemporaryAvatar"
                            name="POST"><ns2:doc><![CDATA[Creates temporary avatar]]></ns2:doc><ns2:request><ns2:param
                            name="filename" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[name of file being uploaded]]></ns2:doc></ns2:param><ns2:param
                            name="size" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[size of file]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status=""><ns2:representation
                    mediaType="application/json"/></ns2:response></ns2:method><ns2:method
                    id="storeTemporaryAvatarUsingMultiPart"
                        name="POST"><ns2:response
                            status=""><ns2:representation
                mediaType="text/html"/></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="type/{type}/owner/{owningObjectId}/avatar/{id}"><ns2:param
                    name="id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[database id for avatar]]></ns2:doc></ns2:param><ns2:param
                    name="type" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Project id or project key]]></ns2:doc></ns2:param><ns2:param
                    name="owningObjectId" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="deleteAvatar"
                        name="DELETE"><ns2:doc><![CDATA[Deletes avatar]]></ns2:doc><ns2:response
                            status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="type/{type}/owner/{owningObjectId}"><ns2:param
                    name="type" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                    name="owningObjectId" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getAvatars" name="GET"><ns2:response
                            status=""><ns2:representation
            mediaType="application/json"/></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="auth/1/session"><ns2:doc><![CDATA[Implement a REST resource for acquiring a session cookie.]]></ns2:doc><ns2:method
                id="login"
                        name="POST"><ns2:doc><![CDATA[Creates a new session for a user in JIRA. Once a session has been successfully created it can be used to access
 any of JIRA's remote APIs and also the web UI by passing the appropriate HTTP Cookie header.
 <p>
 Note that it is generally preferrable to use HTTP BASIC authentication with the REST API. However, this resource
 may be used to mimic the behaviour of JIRA's log-in page (e.g. to display log-in errors to a user).]]></ns2:doc><ns2:request><ns2:representation
                        element="session"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"username":"fred","password":"freds_password"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/auth-params#","title":"Auth Params","type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                status="200"><ns2:doc><![CDATA[an AuthSuccess entity]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"session":{"name":"JSESSIONID","value":"12345678901234567890"},"loginInfo":{"failedLoginCount":10,"loginCount":127,"lastFailedLoginTime":"2016-03-16T04:22:35.386+0000","previousLoginTime":"2016-03-16T04:22:35.386+0000"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns information about the caller's session if the caller is authenticated.
 <p>
 Note that the response contains the <code>Set-Cookie</code> HTTP headers that <b>must</b> be honoured by the
 caller. If you are using a cookie-aware HTTP client then it will handle all <code>Set-Cookie</code> headers
 automatically. This is important because setting the <code>JSESSIONID</code> cookie alone may not be
 sufficient for the authentication to work.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/auth-success#","title":"Auth Success","type":"object","properties":{"session":{"title":"Session Info","type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false},"loginInfo":{"title":"Login Info","type":"object","properties":{"failedLoginCount":{"type":"integer"},"loginCount":{"type":"integer"},"lastFailedLoginTime":{"type":"string"},"previousLoginTime":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[an AuthSuccess entity]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the login fails due to invalid credentials.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[an AuthSuccess entity]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the login is denied due to a CAPTCHA requirement, throtting, or any other reason. In case of a
 403 status code it is possible that the supplied credentials are valid but the user is not allowed to log in
 at this point in time.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="currentUser"
                    name="GET"><ns2:doc><![CDATA[Returns information about the currently authenticated user's session. If the caller is not authenticated they
 will get a 401 Unauthorized status code.]]></ns2:doc><ns2:response
                                status="200"><ns2:doc><![CDATA[JSON containing information about the current user]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2.0/user/fred","name":"fred","loginInfo":{"failedLoginCount":10,"loginCount":127,"lastFailedLoginTime":"2016-03-16T04:22:35.386+0000","previousLoginTime":"2016-03-16T04:22:35.386+0000"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/current-user#","title":"Current User","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"loginInfo":{"title":"Login Info","type":"object","properties":{"failedLoginCount":{"type":"integer"},"loginCount":{"type":"integer"},"lastFailedLoginTime":{"type":"string"},"previousLoginTime":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[JSON containing information about the current user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller is not authenticated.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="logout"
                    name="DELETE"><ns2:doc><![CDATA[Logs the current user out of JIRA, destroying the existing session, if any.]]></ns2:doc><ns2:response
                    status="401"><ns2:doc><![CDATA[401 if the called is not authenticated. NO_CONTENT if the successful.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="204"><ns2:doc><![CDATA[401 if the called is not authenticated. NO_CONTENT if the successful.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user was successfully logged out.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/myself"><ns2:doc><![CDATA[Currently logged user resource]]></ns2:doc><ns2:method
                id="getUser"
                    name="GET"><ns2:doc><![CDATA[Returns currently logged user. This resource cannot be accessed anonymously.]]></ns2:doc><ns2:response
                        status="200"><ns2:representation element="user"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[{"name":"jira-user","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-user"},{"name":"jira-admin","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-admin"},{"name":"important","self":"http://www.example.com/jira/rest/api/2/group?groupname=important"}]},"applicationRoles":{"size":1,"items":[]},"expand":"groups,applicationRoles"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA user in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user#","title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false,"required":["active"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="updateUser"
                        name="PUT"><ns2:doc><![CDATA[Modify currently logged user. The "value" fields present will override the existing value.
 Fields skipped in request will not be changed. Only email and display name can be change that way.
 Requires user password.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"password":"abracadabra","emailAddress":"eddie@atlassian.com","displayName":"Eddie of Atlassian"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user-write#","title":"User Write","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"password":{"type":"string"},"emailAddress":{"type":"string"},"displayName":{"type":"string"},"notification":{"type":"string"},"applicationKeys":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation
                        element="user"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jirahttp://www.example.com/jira/rest/api/2/user/charlie","key":"charlie","name":"eddie","emailAddress":"eddie@atlassian.com","displayName":"Eddie of Atlassian"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user exists and the caller has permission to edit it.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user#","title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false,"required":["active"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid including incorrect password.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the directory is read-only.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a user]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the the user could not be found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="password"><ns2:method id="changeMyPassword"
                            name="PUT"><ns2:doc><![CDATA[Modify caller password.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"password":"new password","currentPassword":"current password"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/password#","title":"Password","type":"object","properties":{"password":{"type":"string"},"currentPassword":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if new password is incorrect/missing or current password is incorrect.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[Returned if the user exists and the caller has permission to edit it.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the directory is read-only.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the caller does have permission to change user password but the user does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/field"><ns2:method id="createCustomField"
                        name="POST"><ns2:doc><![CDATA[Creates a custom field using a definition (object encapsulating custom field data)]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"New custom field","description":"Custom field for picking groups","type":"com.atlassian.jira.plugin.system.customfieldtypes:grouppicker","searcherKey":"com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/custom-field-definition#","title":"Custom Field Definition","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"searcherKey":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                status="201"><ns2:doc><![CDATA[Response with information about created field]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"customfield_10101","name":"New custom field","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10101]","New custom field"],"schema":{"type":"project","custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if custom field was created.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/field#","title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[Response with information about created field]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. invalid values).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="500"><ns2:doc><![CDATA[Response with information about created field]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if exception occured during custom field creation.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="getFields"
                    name="GET"><ns2:doc><![CDATA[Returns a list of all fields, both System and Custom]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a response containing all fields as short Field Meta Beans]]></ns2:doc><ns2:representation
                        element="List of field"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"id":"description","name":"Description","custom":false,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["description"],"schema":{"type":"string","system":"description"}},{"id":"summary","name":"Summary","custom":false,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["summary"],"schema":{"type":"string","system":"summary"}}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Contains a full representation of all visible fields in JSON.]]></ns2:doc><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-field#","title":"List of Field","type":"array","items":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/issuesecurityschemes"><ns2:doc><![CDATA[REST resource that allows to view security schemes defined in the product.]]></ns2:doc><ns2:method
                id="getIssueSecuritySchemes"
                    name="GET"><ns2:doc><![CDATA[Returns all issue security schemes that are defined.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[an object containing a collection of issue security schemes]]></ns2:doc><ns2:representation
                        element="issuesecurityschemes"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issueSecuritySchemes":[{"self":"http://www.example.com/jira/rest/api/2/issuesecurityschemes/1000","id":1000,"name":"Default Issue Security Scheme","description":"Description for the default issue security scheme","defaultSecurityLevelId":10021}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user has the administrator permission.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/security-schemes#","title":"Security Schemes","type":"object","properties":{"issueSecuritySchemes":{"type":"array","items":{"title":"Security Scheme","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultSecurityLevelId":{"type":"integer"},"levels":{"type":"array","items":{"title":"Security Level","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[an object containing a collection of issue security schemes]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[an object containing a collection of issue security schemes]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have the administrator permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getIssueSecurityScheme"
                        name="GET"><ns2:doc><![CDATA[Returns the issue security scheme along with that are defined.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[an object containing a collection of issue security schemes]]></ns2:doc><ns2:representation
                            element="issuesecurityscheme"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issuesecurityschemes/1000","id":1000,"name":"Default Issue Security Scheme","description":"Description for the default issue security scheme","defaultSecurityLevelId":10021,"levels":[{"self":"http://www.example.com/jira/rest/api/2/securitylevel/10021","id":"10021","description":"Only the reporter and internal staff can see this issue.","name":"Reporter Only"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user has the administrator permission or if the scheme is used in a project in which the user has the administrative permission.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/security-scheme#","title":"Security Scheme","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultSecurityLevelId":{"type":"integer"},"levels":{"type":"array","items":{"title":"Security Level","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[an object containing a collection of issue security schemes]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="403"><ns2:doc><![CDATA[an object containing a collection of issue security schemes]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have the administrator permission and the scheme is not used in any project where the user has administrative permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/dashboard/{dashboardId}/items/{itemId}/properties"><ns2:param
                name="itemId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the dashboard item from which keys will be returned.]]></ns2:doc></ns2:param><ns2:param
                name="dashboardId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                id="getPropertiesKeys"
                    name="GET"><ns2:doc><![CDATA[Returns the keys of all properties for the dashboard item identified by the id.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation
                        element="dashboard-item-properties-keys"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"keys":[{"self":"http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support","key":"issue.support"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the dashboard item was found.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-properties-keys#","title":"Entity Properties Keys","type":"object","properties":{"keys":{"type":"array","items":{"title":"Entity Property Key","type":"object","properties":{"self":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item with given id does not exist or user does not have permissions to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="/{propertyKey}"><ns2:param name="propertyKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the property to return.]]></ns2:doc></ns2:param><ns2:param
                    name="itemId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the dashboard item from which the property will be returned.]]></ns2:doc></ns2:param><ns2:param
                    name="dashboardId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="deleteProperty"
                        name="DELETE"><ns2:doc><![CDATA[Removes the property from the dashboard item identified by the key or by the id. Ths user removing the property is required
 to have permissions to administer the dashboard item.]]></ns2:doc><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item property was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to edit the dashboard item.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item with given id does not exist or user does not have permissions to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setProperty"
                        name="PUT"><ns2:doc><![CDATA[Sets the value of the specified dashboard item's property.
 <p>
 You can use this resource to store a custom data against the dashboard item identified by the id.
 The user who stores the data is required to have permissions to administer the dashboard item.
 </p>]]></ns2:doc><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item property is successfully updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="201"><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item property is successfully created.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer the dashboard item.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item with given id does not exist or user does not have permissions to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getProperty"
                        name="GET"><ns2:doc><![CDATA[Returns the value of the property with a given key from the dashboard item identified by the id.
 The user who retrieves the property is required to have permissions to read the dashboard item.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation
                            element="dashboard item-property"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"issue.support","value":{"hipchat.room.id":"support-123","support.time":"1m"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the dashboard item property was found.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-property#","title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the dashboard item with given id does not exist or user does not have permissions to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/resolution"><ns2:method id="getResolutions"
                    name="GET"><ns2:doc><![CDATA[Returns a list of all resolutions.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a list of JIRA issue resolutions]]></ns2:doc><ns2:representation
                        element="list of resolutions"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/resolution/1","description":"A fix for this issue is checked into the tree and tested.","iconUrl":"http://www.example.com/jira/images/icons/statuses/resolved.png","name":"Fixed"},{"self":"http://www.example.com/jira/rest/api/2/resolution/3","description":"This is what it is supposed to do.","name":"Works as designed"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the resolutions exists and the user has permission to view them. Contains a full representation of
 the resolution in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-resolution#","title":"List of Resolution","type":"array","items":{"title":"Resolution","type":"object","properties":{"self":{"type":"string","format":"uri"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the resolution id]]></ns2:doc></ns2:param><ns2:method
                    id="getResolution"
                        name="GET"><ns2:doc><![CDATA[Returns a resolution.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a JIRA issue resolution]]></ns2:doc><ns2:representation
                            element="resolution"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/resolution/1","description":"A fix for this issue is checked into the tree and tested.","iconUrl":"http://www.example.com/jira/images/icons/statuses/resolved.png","name":"Fixed"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the resolution exists and the user has permission to view it. Contains a full representation of
 the resolution in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/resolution#","title":"Resolution","type":"object","properties":{"self":{"type":"string","format":"uri"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a JIRA issue resolution]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the resolution does not exist or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/statuscategory"><ns2:method
                id="getStatusCategories"
                    name="GET"><ns2:doc><![CDATA[Returns a list of all status categories]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a full representation of the StatusCategory]]></ns2:doc><ns2:representation
                        element="statusCategory"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/1","id":1,"key":"in-flight","colorName":"yellow","name":"In Progress"},{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/9","id":9,"key":"completed","colorName":"green"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of all JIRA issue status categories in JSON format, that are visible to the user.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-status-category#","title":"List of Status Category","type":"array","items":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a full representation of the StatusCategory]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if no status categories are found, or the user does not have permission to view them.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{idOrKey}"><ns2:param name="idOrKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a numeric StatusCategory id or a status category key]]></ns2:doc></ns2:param><ns2:method
                    id="getStatusCategory"
                        name="GET"><ns2:doc><![CDATA[Returns a full representation of the StatusCategory having the given id or key]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a full representation of the StatusCategory]]></ns2:doc><ns2:representation
                            element="statusCategory"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/1","id":1,"key":"in-flight","colorName":"yellow","name":"In Progress"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA issue status category in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/status-category#","title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a full representation of the StatusCategory]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue status category is not found, or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/workflowscheme"><ns2:method
                id="createScheme"
                        name="POST"><ns2:doc><![CDATA[Create a new workflow scheme.
 <p/>
 The body contains a representation of the new scheme. Values not passed are assumed to be set to their defaults.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"New Workflow Scheme Name","description":"New Workflow Scheme Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId":"WorkflowName"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                status="201"><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The newly created scheme.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}/draft"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the parent scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="updateDraft"
                            name="PUT"><ns2:doc><![CDATA[Update a draft workflow scheme. The draft will created if necessary.
 <p/>
 The body is a representation of the workflow scheme. Values not passed are assumed to indicate no change for that field.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":57585,"name":"Updated Workflow Scheme Name","description":"Updated Workflow Scheme Name","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId":"WorkflowName"},"updateDraftIfNeeded":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":17218781,"name":"Workflow Scheme Two","description":"Workflow Scheme Two Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"originalDefaultWorkflow":"ParentsDefaultWorkflowName","originalIssueTypeMappings":{"IssueTypeId":"WorkflowName2"},"draft":true,"lastModifiedUser":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}},"lastModified":"Today 12:45","self":"http://www.example.com/jira/rest/api/2/workflowscheme/17218781/draft"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The updated/created scheme.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getDraftById"
                        name="GET"><ns2:doc><![CDATA[Returns the requested draft workflow scheme to the caller.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[the requested draft workflow scheme.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":17218781,"name":"Workflow Scheme Two","description":"Workflow Scheme Two Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"originalDefaultWorkflow":"ParentsDefaultWorkflowName","originalIssueTypeMappings":{"IssueTypeId":"WorkflowName2"},"draft":true,"lastModifiedUser":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}},"lastModified":"Today 12:45","self":"http://www.example.com/jira/rest/api/2/workflowscheme/17218781/draft"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the scheme exists and the caller has permission to see it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the requested draft workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the requested draft workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested draft scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteDraftById"
                        name="DELETE"><ns2:doc><![CDATA[Delete the passed draft workflow scheme.]]></ns2:doc><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[If the scheme was deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested draft scheme or parent scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/workflow"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="getWorkflow"
                            name="GET"><ns2:doc><![CDATA[Returns the workflow mappings or requested mapping to the caller for the passed scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="workflowName" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the workflow mapping to return. Null can be passed to return all mappings. Must be a valid workflow name.]]></ns2:doc></ns2:param><ns2:param
                            name="returnDraftIfExists" style="query"
                            type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when true indicates that a scheme's draft, if it exists, should be queried instead of
                            the scheme itself.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName","issueTypes":["IssueTypeId","IssueTypeId2"],"defaultMapping":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-mapping#","title":"Workflow Mapping","type":"object","properties":{"workflow":{"type":"string"},"issueTypes":{"type":"array","items":{"type":"string"}},"defaultMapping":{"type":"boolean"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-workflow-mapping#","title":"List of Workflow Mapping","type":"array","items":{"title":"Workflow Mapping","type":"object","properties":{"workflow":{"type":"string"},"issueTypes":{"type":"array","items":{"type":"string"}},"defaultMapping":{"type":"boolean"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or workflow does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteWorkflowMapping"
                            name="DELETE"><ns2:doc><![CDATA[Delete the passed workflow from the workflow scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="workflowName" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow to delete.]]></ns2:doc></ns2:param><ns2:param
                            name="updateDraftIfNeeded" style="query"
                            type="xs:boolean"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[flag to indicate if a draft should be created if necessary to delete the workflow
                            from the scheme.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[The scheme with the workflow deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested scheme or workflow does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateWorkflowMapping"
                            name="PUT"><ns2:doc><![CDATA[Update the scheme to include the passed mapping.
 <p/>
 The body is a representation of the workflow mapping.
 Values not passed are assumed to indicate no change for that field.
 <p/>
 The passed representation can have its updateDraftIfNeeded flag set to true to indicate that the draft
 should be created/updated when the actual scheme cannot be edited.]]></ns2:doc><ns2:request><ns2:param
                            name="workflowName" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow mapping to update.]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName3","issueTypes":["IssueTypeId"],"updateDraftIfNeeded":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-mapping#","title":"Workflow Mapping","type":"object","properties":{"workflow":{"type":"string"},"issueTypes":{"type":"array","items":{"type":"string"}},"defaultMapping":{"type":"boolean"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The updated scheme.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/draft/workflow"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the parent scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="getDraftWorkflow"
                            name="GET"><ns2:doc><![CDATA[Returns the draft workflow mappings or requested mapping to the caller.]]></ns2:doc><ns2:request><ns2:param
                            name="workflowName" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the workflow mapping to return. Null can be passed to return all mappings. Must be a valid workflow name.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName","issueTypes":["IssueTypeId","IssueTypeId2"],"defaultMapping":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-mapping#","title":"Workflow Mapping","type":"object","properties":{"workflow":{"type":"string"},"issueTypes":{"type":"array","items":{"type":"string"}},"defaultMapping":{"type":"boolean"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-workflow-mapping#","title":"List of Workflow Mapping","type":"array","items":{"title":"Workflow Mapping","type":"object","properties":{"workflow":{"type":"string"},"issueTypes":{"type":"array","items":{"type":"string"}},"defaultMapping":{"type":"boolean"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or workflow does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteDraftWorkflowMapping"
                            name="DELETE"><ns2:doc><![CDATA[Delete the passed workflow from the draft workflow scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="workflowName" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow to delete.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[The scheme with the workflow deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested scheme or workflow does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateDraftWorkflowMapping"
                            name="PUT"><ns2:doc><![CDATA[Update the draft scheme to include the passed mapping.
 <p/>
 The body is a representation of the workflow mapping.
 Values not passed are assumed to indicate no change for that field.]]></ns2:doc><ns2:request><ns2:param
                            name="workflowName" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow mapping to update.]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName3","issueTypes":["IssueTypeId"],"updateDraftIfNeeded":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-mapping#","title":"Workflow Mapping","type":"object","properties":{"workflow":{"type":"string"},"issueTypes":{"type":"array","items":{"type":"string"}},"defaultMapping":{"type":"boolean"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The updated scheme.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/issuetype/{issueType}"><ns2:param
                    name="issueType" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue type being set.]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="getIssueType"
                            name="GET"><ns2:doc><![CDATA[Returns the issue type mapping for the passed workflow scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="returnDraftIfExists" style="query"
                            type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when true indicates that a scheme's draft, if it exists, should be queried instead of
                            the scheme itself.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the requested mapping.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issueType":"IssueTypeId","workflow":"WorkflowName"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type-mapping#","title":"Issue Type Mapping","type":"object","properties":{"issueType":{"type":"string"},"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the requested mapping.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the requested mapping.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or issue type does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteIssueType"
                            name="DELETE"><ns2:doc><![CDATA[Remove the specified issue type mapping from the scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="updateDraftIfNeeded" style="query"
                            type="xs:boolean"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when true will create and return a draft when the workflow scheme cannot be edited
                            (e.g. when it is being used by a project).]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or issue type does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setIssueType"
                            name="PUT"><ns2:doc><![CDATA[Set the issue type mapping for the passed scheme.
 <p/>
 The passed representation can have its updateDraftIfNeeded flag set to true to indicate that
 the draft should be created/updated when the actual scheme cannot be edited.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issueType":"IssueTypeId","workflow":"WorkflowName","updateDraftIfNeeded":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type-mapping#","title":"Issue Type Mapping","type":"object","properties":{"issueType":{"type":"string"},"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or issue type does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/draft/issuetype/{issueType}"><ns2:param
                    name="issueType" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue type being set.]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the parent scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="getDraftIssueType"
                        name="GET"><ns2:doc><![CDATA[Returns the issue type mapping for the passed draft workflow scheme.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[the requested mapping.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issueType":"IssueTypeId","workflow":"WorkflowName"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type-mapping#","title":"Issue Type Mapping","type":"object","properties":{"issueType":{"type":"string"},"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the requested mapping.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the requested mapping.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or issue type does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteDraftIssueType"
                        name="DELETE"><ns2:doc><![CDATA[Remove the specified issue type mapping from the draft scheme.]]></ns2:doc><ns2:response
                                    status="200"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":17218781,"name":"Workflow Scheme Two","description":"Workflow Scheme Two Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"originalDefaultWorkflow":"ParentsDefaultWorkflowName","originalIssueTypeMappings":{"IssueTypeId":"WorkflowName2"},"draft":true,"lastModifiedUser":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}},"lastModified":"Today 12:45","self":"http://www.example.com/jira/rest/api/2/workflowscheme/17218781/draft"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or issue type does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setDraftIssueType"
                            name="PUT"><ns2:doc><![CDATA[Set the issue type mapping for the passed draft scheme.
 <p/>
 The passed representation can have its updateDraftIfNeeded flag set to true to indicate that
 the draft should be created/updated when the actual scheme cannot be edited.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issueType":"IssueTypeId","workflow":"WorkflowName","updateDraftIfNeeded":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-type-mapping#","title":"Issue Type Mapping","type":"object","properties":{"issueType":{"type":"string"},"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":17218781,"name":"Workflow Scheme Two","description":"Workflow Scheme Two Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"originalDefaultWorkflow":"ParentsDefaultWorkflowName","originalIssueTypeMappings":{"IssueTypeId":"WorkflowName2"},"draft":true,"lastModifiedUser":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}},"lastModified":"Today 12:45","self":"http://www.example.com/jira/rest/api/2/workflowscheme/17218781/draft"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the requested scheme or issue type does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/draft/default"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the parent scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="getDraftDefault"
                        name="GET"><ns2:doc><![CDATA[Return the default workflow from the passed draft workflow scheme to the caller.]]></ns2:doc><ns2:response
                                    status="200"><ns2:doc><![CDATA[the default workflow or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/default#","title":"Default","type":"object","properties":{"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the default workflow or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the default workflow or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when the workflow scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteDraftDefault"
                        name="DELETE"><ns2:doc><![CDATA[Remove the default workflow from the passed draft workflow scheme.]]></ns2:doc><ns2:response
                                    status="200"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":17218781,"name":"Workflow Scheme Two","description":"Workflow Scheme Two Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"originalDefaultWorkflow":"ParentsDefaultWorkflowName","originalIssueTypeMappings":{"IssueTypeId":"WorkflowName2"},"draft":true,"lastModifiedUser":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}},"lastModified":"Today 12:45","self":"http://www.example.com/jira/rest/api/2/workflowscheme/17218781/draft"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateDraftDefault"
                            name="PUT"><ns2:doc><![CDATA[Set the default workflow for the passed draft workflow scheme.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName","updateDraftIfNeeded":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/default#","title":"Default","type":"object","properties":{"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":17218781,"name":"Workflow Scheme Two","description":"Workflow Scheme Two Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"originalDefaultWorkflow":"ParentsDefaultWorkflowName","originalIssueTypeMappings":{"IssueTypeId":"WorkflowName2"},"draft":true,"lastModifiedUser":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}},"lastModified":"Today 12:45","self":"http://www.example.com/jira/rest/api/2/workflowscheme/17218781/draft"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/default"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="deleteDefault"
                            name="DELETE"><ns2:doc><![CDATA[Remove the default workflow from the passed workflow scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="updateDraftIfNeeded" style="query"
                            type="xs:boolean"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when true will create and return a draft when the workflow scheme cannot be edited
                            (e.g. when it is being used by a project).]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateDefault"
                            name="PUT"><ns2:doc><![CDATA[Set the default workflow for the passed workflow scheme.
 <p/>
 The passed representation can have its
 updateDraftIfNeeded flag set to true to indicate that the draft should be created/updated when the actual scheme
 cannot be edited.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName","updateDraftIfNeeded":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/default#","title":"Default","type":"object","properties":{"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned on success.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the updated scheme or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getDefault"
                            name="GET"><ns2:doc><![CDATA[Return the default workflow from the passed workflow scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="returnDraftIfExists" style="query"
                            type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when true indicates that a scheme's draft, if it exists, should be queried instead of
                            the scheme itself.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[the default workflow or an error.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"workflow":"WorkflowName"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/default#","title":"Default","type":"object","properties":{"workflow":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the default workflow or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[the default workflow or an error.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when the workflow scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="getById"
                            name="GET"><ns2:doc><![CDATA[Returns the requested workflow scheme to the caller.]]></ns2:doc><ns2:request><ns2:param
                            name="returnDraftIfExists" style="query"
                            type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when true indicates that a scheme's draft, if it exists, should be queried instead of
                            the scheme itself.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the scheme exists and the caller has permission to see it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the requested workflow scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteScheme"
                        name="DELETE"><ns2:doc><![CDATA[Delete the passed workflow scheme.]]></ns2:doc><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the requested scheme is active (i.e. being used by JIRA).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[If the scheme was deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="update"
                            name="PUT"><ns2:doc><![CDATA[Update the passed workflow scheme.
 <p/>
 The body of the request is a representation of the workflow scheme. Values not passed are assumed to indicate
 no change for that field.
 <p/>
 The passed representation can have its updateDraftIfNeeded flag set to true to indicate that the draft
 should be created and/or updated when the actual scheme cannot be edited (e.g. when the scheme is being used by
 a project). Values not appearing the body will not be touched.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":57585,"name":"Updated Workflow Scheme Name","description":"Updated Workflow Scheme Name","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId":"WorkflowName"},"updateDraftIfNeeded":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":101010,"name":"Workflow Scheme One","description":"Workflow Scheme One Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"draft":false,"self":"http://www.example.com/jira/rest/api/2/workflowscheme/101010"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The updated scheme.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the requested scheme does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/createdraft"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the parent scheme.]]></ns2:doc></ns2:param><ns2:method
                    id="createDraftForParent"
                        name="POST"><ns2:doc><![CDATA[Create a draft for the passed scheme. The draft will be a copy of the state of the parent.]]></ns2:doc><ns2:response
                                    status="201"><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":17218781,"name":"Workflow Scheme Two","description":"Workflow Scheme Two Description","defaultWorkflow":"DefaultWorkflowName","issueTypeMappings":{"IsueTypeId2":"WorkflowName","IsueTypeId":"WorkflowName"},"originalDefaultWorkflow":"ParentsDefaultWorkflowName","originalIssueTypeMappings":{"IssueTypeId":"WorkflowName2"},"draft":true,"lastModifiedUser":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","emailAddress":"fred@example.com","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}},"lastModified":"Today 12:45","self":"http://www.example.com/jira/rest/api/2/workflowscheme/17218781/draft"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The newly created scheme.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow-scheme#","title":"Workflow Scheme","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultWorkflow":{"type":"string"},"issueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"originalDefaultWorkflow":{"type":"string"},"originalIssueTypeMappings":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"draft":{"type":"boolean"},"lastModifiedUser":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"lastModified":{"type":"string"},"self":{"type":"string","format":"uri"},"updateDraftIfNeeded":{"type":"boolean"},"issueTypes":{"type":"object","patternProperties":{".+":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"additionalProperties":false}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="401"><ns2:representation><ns2:doc><![CDATA[Returned if there is no user or if the user has not entered a websudo
 session.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/user/properties/"><ns2:method
                id="getPropertiesKeys"
                        name="GET"><ns2:doc><![CDATA[Returns the keys of all properties for the user identified by the key or by the id.]]></ns2:doc><ns2:request><ns2:param
                        name="userKey" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[key of the user whose properties are to be returned]]></ns2:doc></ns2:param><ns2:param
                        name="username" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username of the user whose properties are to be returned]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation
                        element="user-properties-keys"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"keys":[{"self":"http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support","key":"issue.support"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user was found.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-properties-keys#","title":"Entity Properties Keys","type":"object","properties":{"keys":{"type":"array","items":{"title":"Entity Property Key","type":"object","properties":{"self":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to browse the user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="/{propertyKey}"><ns2:param name="propertyKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="deleteProperty"
                            name="DELETE"><ns2:doc><![CDATA[Removes the property from the user identified by the key or by the id. Ths user removing the property is required
 to have permissions to administer the user.]]></ns2:doc><ns2:request><ns2:param
                            name="userKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[key of the user whose property is to be removed]]></ns2:doc></ns2:param><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username of the user whose property is to be removed]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user property was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to edit the user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setProperty"
                            name="PUT"><ns2:doc><![CDATA[Sets the value of the specified user's property.
 <p>
 You can use this resource to store a custom data against the user identified by the key or by the id. The user
 who stores the data is required to have permissions to administer the user.
 </p>]]></ns2:doc><ns2:request><ns2:param
                            name="userKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[key of the user whose property is to be set]]></ns2:doc></ns2:param><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username of the user whose property is to be set]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the user property is successfully updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="201"><ns2:representation><ns2:doc><![CDATA[Returned if the user property is successfully created.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the user key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer the user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the user with given key or id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getProperty"
                            name="GET"><ns2:doc><![CDATA[Returns the value of the property with a given key from the user identified by the key or by the id. The user who retrieves
 the property is required to have permissions to read the user.]]></ns2:doc><ns2:request><ns2:param
                            name="userKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[key of the user whose property is to be returned]]></ns2:doc></ns2:param><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[username of the user whose property is to be returned]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation
                            element="user-property"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"issue.support","value":{"hipchat.room.id":"support-123","support.time":"1m"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user property was found.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-property#","title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to browse the user.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/issue/{issueIdOrKey}/properties"><ns2:param
                name="issueIdOrKey" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue from which keys will be returned.]]></ns2:doc></ns2:param><ns2:method
                id="getPropertiesKeys" name="GET"
                    experimental="true"><ns2:doc><![CDATA[Returns the keys of all properties for the issue identified by the key or by the id.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation
                        element="issue-properties-keys"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"keys":[{"self":"http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support","key":"issue.support"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue was found.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-properties-keys#","title":"Entity Properties Keys","type":"object","properties":{"keys":{"type":"array","items":{"title":"Entity Property Key","type":"object","properties":{"self":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to view the issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="/{propertyKey}"><ns2:param name="propertyKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the property to return.]]></ns2:doc></ns2:param><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue from which the property will be returned.]]></ns2:doc></ns2:param><ns2:method
                    id="deleteProperty" name="DELETE"
                        experimental="true"><ns2:doc><![CDATA[Removes the property from the issue identified by the key or by the id. Ths user removing the property is required
 to have permissions to edit the issue.]]></ns2:doc><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue property was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to edit the issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setProperty" name="PUT"
                        experimental="true"><ns2:doc><![CDATA[Sets the value of the specified issue's property.
 <p>
 You can use this resource to store a custom data against the issue identified by the key or by the id. The user
 who stores the data is required to have permissions to edit the issue.
 </p>]]></ns2:doc><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the issue property is successfully updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="201"><ns2:representation><ns2:doc><![CDATA[Returned if the issue property is successfully created.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the issue key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to edit the issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the issue with given key or id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getProperty" name="GET"
                        experimental="true"><ns2:doc><![CDATA[Returns the value of the property with a given key from the issue identified by the key or by the id. The user who retrieves
 the property is required to have permissions to read the issue.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation
                            element="issue-property"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"issue.support","value":{"hipchat.room.id":"support-123","support.time":"1m"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue property was found.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-property#","title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to view the issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/issueLink"><ns2:doc><![CDATA[The Link Issue Resource provides functionality to manage issue links.]]></ns2:doc><ns2:method
                id="linkIssues"
                        name="POST"><ns2:doc><![CDATA[Creates an issue link between two issues.
 The user requires the link issue permission for the issue which will be linked to another issue.
 The specified link type in the request is used to create the link and will create a link from the first issue
 to the second issue using the outward description. It also create a link from the second issue to the first issue using the
 inward description of the issue link type.
 It will add the supplied comment to the first issue. The comment can have a restriction who can view it.
 If group is specified, only users of this group can view this comment, if roleLevel is specified only users who have the specified role can view this comment.
 The user who creates the issue link needs to belong to the specified group or have the specified role.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"type":{"name":"Duplicate"},"inwardIssue":{"key":"HSP-1"},"outwardIssue":{"key":"MKY-1"},"comment":{"body":"Linked related issue!","visibility":{"type":"group","value":"jira-software-users"}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/link-issue-request#","title":"Link Issue Request","type":"object","properties":{"type":{"title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"}},"additionalProperties":false},"inwardIssue":{"$ref":"#/definitions/issue-ref"},"outwardIssue":{"$ref":"#/definitions/issue-ref"},"comment":{"title":"Comment","type":"object","properties":{"id":{"type":"string"},"author":{"$ref":"#/definitions/user"},"body":{"type":"string"},"renderedBody":{"type":"string"},"updateAuthor":{"$ref":"#/definitions/user"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"additionalProperties":false}},"definitions":{"issue-ref":{"title":"Issue Ref","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"fields":{"title":"Fields","type":"object","properties":{"summary":{"type":"string"},"status":{"title":"Status","type":"object","properties":{"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"issuetype":{"title":"Issue Type","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]},"priority":{"title":"Priority","type":"object","properties":{"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"user":{"title":"User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a response indicating if the issue link was created successfully.]]></ns2:doc><ns2:representation
                    mediaType="application/json"><ns2:doc><![CDATA[if the issue link was created successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a response indicating if the issue link was created successfully.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[if it can't create the supplied comment.
 The response will contain an error message indicating why it failed to create the comment.
 No issue link will be created if it failed to create the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a response indicating if the issue link was created successfully.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[if the user does not have the link issue permission for the issue, which will be linked to another issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="500"><ns2:doc><![CDATA[a response indicating if the issue link was created successfully.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[if an error occurred when creating the issue link or the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response indicating if the issue link was created successfully.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[If issue linking is disabled or
 it failed to find one of the issues (issue might exist, but it is not visible for this user) or
 it failed to find the specified issue link type.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{linkId}"><ns2:param name="linkId"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue link id.]]></ns2:doc></ns2:param><ns2:method
                    id="getIssueLink"
                        name="GET"><ns2:doc><![CDATA[Returns an issue link with the specified id.]]></ns2:doc><ns2:response
                            status="200"><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"10001","type":{"id":"1000","name":"Duplicate","inward":"Duplicated by","outward":"Duplicates","self":"http://www.example.com/jira/rest/api/2//issueLinkType/1000"},"inwardIssue":{"id":"10004","key":"PRJ-3","self":"http://www.example.com/jira/rest/api/2/issue/PRJ-3","fields":{"status":{"iconUrl":"http://www.example.com/jira//images/icons/statuses/open.png","name":"Open"}}},"outwardIssue":{"id":"10004L","key":"PRJ-2","self":"http://www.example.com/jira/rest/api/2/issue/PRJ-2","fields":{"status":{"iconUrl":"http://www.example.com/jira//images/icons/statuses/open.png","name":"Open"}}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-link#","title":"Issue Link","type":"object","properties":{"id":{"type":"string"},"self":{"type":"string","format":"uri"},"type":{"title":"Issue Link Type","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"inward":{"type":"string"},"outward":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"inwardIssue":{"$ref":"#/definitions/issue-ref"},"outwardIssue":{"$ref":"#/definitions/issue-ref"}},"definitions":{"issue-ref":{"title":"Issue Ref","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"self":{"type":"string","format":"uri"},"fields":{"title":"Fields","type":"object","properties":{"summary":{"type":"string"},"status":{"title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"issuetype":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]},"priority":{"title":"Priority","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[If the specified issue link id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[if the user does not have the link issue permission for the issue, which will be linked to another issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:representation><ns2:doc><![CDATA[if an error occurred when creating the issue link or the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[If issue linking is disabled or
 it failed to find an issue link with the specified id. Either because none exists with this id, or the user
 doesn't have the permission to see one of the linked issues.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteIssueLink"
                        name="DELETE"><ns2:doc><![CDATA[Deletes an issue link with the specified id.
 To be able to delete an issue link you must be able to view both issues and must have the link issue permission
 for at least one of the issues.]]></ns2:doc><ns2:response
                            status="200"><ns2:representation
                        mediaType="application/json"/></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[If the specified issue link id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[if the user does not have the link issue permission for the source or destination issue of the issue link.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:representation><ns2:doc><![CDATA[if an error occurred when deleting the issue link or the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[If it successfully deleted the issue link.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:representation><ns2:doc><![CDATA[If issue linking is disabled or
 it failed to find an issue link with the specified id. Either because none exists with this id, or the user
 doesn't have the permission to see one of the linked issues.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/project/{projectKeyOrId}/securitylevel"><ns2:doc><![CDATA[Provide security level information of the given project for the current user.]]></ns2:doc><ns2:param
                name="projectKeyOrId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- key or id of project to list the security levels for]]></ns2:doc></ns2:param><ns2:method
                id="getSecurityLevelsForProject"
                    name="GET"><ns2:doc><![CDATA[Returns all security levels for the project that the current logged in user has access to.
 If the user does not have the Set Issue Security permission, the list will be empty.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[list of security levels]]></ns2:doc><ns2:representation
                        element="securityLevels"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"levels":[{"self":"http://www.example.com/jira/rest/api/2/securitylevel/100000","id":"100000","description":"security description","name":"securityLevelName"},{"self":"http://www.example.com/jira/rest/api/2/securitylevel/100001","id":"100001","description":"another security description","name":"secret"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of all security levels in a project for which the current user has access.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/security-list-level#","title":"Security List Level","type":"object","properties":{"levels":{"type":"array","items":{"title":"Security Level","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[list of security levels]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found or the user does not have permissions to browse it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/project/{projectKeyOrId}/notificationscheme"><ns2:doc><![CDATA[Resource for associating notification schemes and projects.]]></ns2:doc><ns2:param
                name="projectKeyOrId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[key or id of the project]]></ns2:doc></ns2:param><ns2:method
                id="getNotificationScheme"
                        name="GET"><ns2:doc><![CDATA[Gets a notification scheme associated with the project.
 Follow the documentation of /notificationscheme/{id} resource for all details about returned value.]]></ns2:doc><ns2:request><ns2:param
                        name="expand" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[The associated notification scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation
                        element="notificationScheme"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"notificationSchemeEvents,user,group,projectRole,field,all","id":10100,"self":"http://example.com/jira/rest/api/2/notificationscheme/10010","name":"notification scheme name","description":"description","notificationSchemeEvents":[{"event":{"id":1,"name":"Issue created","description":"Event published when issue is created"},"notifications":[{"id":1,"notificationType":"Group","parameter":"jira-administrators","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"},"expand":"group"},{"id":2,"notificationType":"CurrentAssignee"},{"id":3,"notificationType":"ProjectRole","parameter":"10360","projectRole":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]},"expand":"projectRole"},{"id":4,"notificationType":"EmailAddress","parameter":"rest-developer@atlassian.com","emailAddress":"rest-developer@atlassian.com"},{"id":5,"notificationType":"User","user":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"expand":"user"},{"id":6,"notificationType":"GroupCustomField","parameter":"customfield_10101","field":{"id":"customfield_10101","name":"New custom field","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10101]","New custom field"],"schema":{"type":"project","custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101}},"expand":"field"}]},{"event":{"id":20,"name":"Custom event","description":"Custom event which is published together with issue created event","templateEvent":{"id":1,"name":"Issue created","description":"Event published when issue is created"}},"notifications":[{"id":1,"notificationType":"Group","parameter":"jira-administrators","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"},"expand":"group"},{"id":2,"notificationType":"CurrentAssignee"},{"id":3,"notificationType":"ProjectRole","parameter":"10360","projectRole":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]},"expand":"projectRole"},{"id":4,"notificationType":"EmailAddress","parameter":"rest-developer@atlassian.com","emailAddress":"rest-developer@atlassian.com"},{"id":5,"notificationType":"User","user":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"expand":"user"},{"id":6,"notificationType":"GroupCustomField","parameter":"customfield_10101","field":{"id":"customfield_10101","name":"New custom field","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10101]","New custom field"],"schema":{"type":"project","custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101}},"expand":"field"}]}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the notification scheme exists and is visible for the calling user]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/notification-scheme#","title":"Notification Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"notificationSchemeEvents":{"type":"array","items":{"title":"Notification Scheme Event","type":"object","properties":{"event":{"$ref":"#/definitions/notification-event"},"notifications":{"type":"array","items":{"title":"Notification","type":"object","anyOf":[{"$ref":"#/definitions/custom-field-value-notification"},{"$ref":"#/definitions/email-notification"},{"$ref":"#/definitions/group-notification"},{"$ref":"#/definitions/project-role-notification"},{"$ref":"#/definitions/role-notification"},{"$ref":"#/definitions/user-notification"}]}}},"additionalProperties":false}}},"definitions":{"custom-field-value-notification":{"title":"Custom Field Value Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"email-notification":{"title":"Email Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"emailAddress":{"type":"string"}},"additionalProperties":false},"group-notification":{"title":"Group Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}},"additionalProperties":false},"notification-event":{"title":"Notification Event","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"templateEvent":{"$ref":"#/definitions/notification-event"}},"additionalProperties":false},"project-role-notification":{"title":"Project Role Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"role-notification":{"title":"Role Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"}},"additionalProperties":false},"user-notification":{"title":"User Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[The associated notification scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[The associated notification scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is allowed to access the project, but is not an administrator of the project or JIRA and therefore
 can't see the notification scheme of the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[The associated notification scheme if successful, appropriate error otherwise.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the notification scheme does not exist, or is not visible to the calling user]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/project/type"><ns2:method
                id="getAllProjectTypes"
                    name="GET"><ns2:doc><![CDATA[Returns all the project types defined on the JIRA instance, not taking into account whether
 the license to use those project types is valid or not.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[All project types defined on the JIRA instance.]]></ns2:doc><ns2:representation
                        element="projectTypes"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"key":"business","formattedKey":"Business","descriptionI18nKey":"Project type for business projects","icon":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAzMiAzMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBhdGggZmlsbD0iIzY2NjY2NiIgZD0iTTE2LDBDNy4yLDAsMCw3LjIsMCwxNmMwLDguOCw3LjIsMTYsMTYsMTZjOC44LDAsMTYtNy4yLDE2LTE2QzMyLDcuMiwyNC44LDAsMTYsMHogTTI1LjcsMjMNCgkJYzAsMS44LTEuNCwzLjItMy4yLDMuMkg5LjJDNy41LDI2LjIsNiwyNC44LDYsMjNWOS44QzYsOCw3LjUsNi42LDkuMiw2LjZoMTMuMmMwLjIsMCwwLjQsMCwwLjcsMC4xbC0yLjgsMi44SDkuMg0KCQlDOSw5LjQsOC44LDkuNiw4LjgsOS44VjIzYzAsMC4yLDAuMiwwLjQsMC40LDAuNGgxMy4yYzAuMiwwLDAuNC0wLjIsMC40LTAuNHYtNS4zbDIuOC0yLjhWMjN6IE0xNS45LDIxLjNMMTEsMTYuNGwyLTJsMi45LDIuOQ0KCQlMMjYuNCw2LjhjMC42LDAuNywxLjIsMS41LDEuNywyLjNMMTUuOSwyMS4zeiIvPg0KPC9nPg0KPC9zdmc+","color":"#FFFFFF"},{"key":"software","formattedKey":"Software","descriptionI18nKey":"Project type for software projects","icon":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAzMiAzMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBhdGggZmlsbD0iIzY2NjY2NiIgZD0iTTE2LDBDNy4yLDAsMCw3LjIsMCwxNmMwLDguOCw3LjIsMTYsMTYsMTZjOC44LDAsMTYtNy4yLDE2LTE2QzMyLDcuMiwyNC44LDAsMTYsMHogTTI1LjcsMjMNCgkJYzAsMS44LTEuNCwzLjItMy4yLDMuMkg5LjJDNy41LDI2LjIsNiwyNC44LDYsMjNWOS44QzYsOCw3LjUsNi42LDkuMiw2LjZoMTMuMmMwLjIsMCwwLjQsMCwwLjcsMC4xbC0yLjgsMi44SDkuMg0KCQlDOSw5LjQsOC44LDkuNiw4LjgsOS44VjIzYzAsMC4yLDAuMiwwLjQsMC40LDAuNGgxMy4yYzAuMiwwLDAuNC0wLjIsMC40LTAuNHYtNS4zbDIuOC0yLjhWMjN6IE0xNS45LDIxLjNMMTEsMTYuNGwyLTJsMi45LDIuOQ0KCQlMMjYuNCw2LjhjMC42LDAuNywxLjIsMS41LDEuNywyLjNMMTUuOSwyMS4zeiIvPg0KPC9nPg0KPC9zdmc+","color":"#AAAAAA"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list with all the project types defined on the JIRA instance.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-project-type#","title":"List of Project Type","type":"array","items":{"title":"Project Type","type":"object","properties":{"key":{"type":"string"},"formattedKey":{"type":"string"},"descriptionI18nKey":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{projectTypeKey}"><ns2:param
                    name="projectTypeKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getProjectTypeByKey"
                        name="GET"><ns2:doc><![CDATA[Returns the project type with the given key.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[The project type with the given key.]]></ns2:doc><ns2:representation
                            element="projectType"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"business","formattedKey":"Business","descriptionI18nKey":"Project type for business projects","icon":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAzMiAzMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBhdGggZmlsbD0iIzY2NjY2NiIgZD0iTTE2LDBDNy4yLDAsMCw3LjIsMCwxNmMwLDguOCw3LjIsMTYsMTYsMTZjOC44LDAsMTYtNy4yLDE2LTE2QzMyLDcuMiwyNC44LDAsMTYsMHogTTI1LjcsMjMNCgkJYzAsMS44LTEuNCwzLjItMy4yLDMuMkg5LjJDNy41LDI2LjIsNiwyNC44LDYsMjNWOS44QzYsOCw3LjUsNi42LDkuMiw2LjZoMTMuMmMwLjIsMCwwLjQsMCwwLjcsMC4xbC0yLjgsMi44SDkuMg0KCQlDOSw5LjQsOC44LDkuNiw4LjgsOS44VjIzYzAsMC4yLDAuMiwwLjQsMC40LDAuNGgxMy4yYzAuMiwwLDAuNC0wLjIsMC40LTAuNHYtNS4zbDIuOC0yLjhWMjN6IE0xNS45LDIxLjNMMTEsMTYuNGwyLTJsMi45LDIuOQ0KCQlMMjYuNCw2LjhjMC42LDAuNywxLjIsMS41LDEuNywyLjNMMTUuOSwyMS4zeiIvPg0KPC9nPg0KPC9zdmc+","color":"#FFFFFF"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a representation of the project type with the given id]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-type#","title":"Project Type","type":"object","properties":{"key":{"type":"string"},"formattedKey":{"type":"string"},"descriptionI18nKey":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{projectTypeKey}/accessible"><ns2:param
                    name="projectTypeKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getAccessibleProjectTypeByKey"
                        name="GET"><ns2:doc><![CDATA[Returns the project type with the given key, if it is accessible to the logged in user.
 This takes into account whether the user is licensed on the Application that defines the project type.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[The project type with the given key.]]></ns2:doc><ns2:representation
                            element="projectType"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"business","formattedKey":"Business","descriptionI18nKey":"Project type for business projects","icon":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAzMiAzMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBhdGggZmlsbD0iIzY2NjY2NiIgZD0iTTE2LDBDNy4yLDAsMCw3LjIsMCwxNmMwLDguOCw3LjIsMTYsMTYsMTZjOC44LDAsMTYtNy4yLDE2LTE2QzMyLDcuMiwyNC44LDAsMTYsMHogTTI1LjcsMjMNCgkJYzAsMS44LTEuNCwzLjItMy4yLDMuMkg5LjJDNy41LDI2LjIsNiwyNC44LDYsMjNWOS44QzYsOCw3LjUsNi42LDkuMiw2LjZoMTMuMmMwLjIsMCwwLjQsMCwwLjcsMC4xbC0yLjgsMi44SDkuMg0KCQlDOSw5LjQsOC44LDkuNiw4LjgsOS44VjIzYzAsMC4yLDAuMiwwLjQsMC40LDAuNGgxMy4yYzAuMiwwLDAuNC0wLjIsMC40LTAuNHYtNS4zbDIuOC0yLjhWMjN6IE0xNS45LDIxLjNMMTEsMTYuNGwyLTJsMi45LDIuOQ0KCQlMMjYuNCw2LjhjMC42LDAuNywxLjIsMS41LDEuNywyLjNMMTUuOSwyMS4zeiIvPg0KPC9nPg0KPC9zdmc+","color":"#FFFFFF"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a representation of the project type with the given id]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-type#","title":"Project Type","type":"object","properties":{"key":{"type":"string"},"formattedKey":{"type":"string"},"descriptionI18nKey":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[The project type with the given key.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[A response status of 401 indicates that there is not a logged in user and therefore this operation can't be performed]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[The project type with the given key.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[A response status of 404 indicates that the project type is not accessible for the logged in user]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/project/{projectKeyOrId}/issuesecuritylevelscheme"><ns2:doc><![CDATA[Resource for associating permission schemes and projects.]]></ns2:doc><ns2:param
                name="projectKeyOrId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                id="getIssueSecurityScheme"
                    name="GET"><ns2:doc><![CDATA[Returns the issue security scheme for project.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[an object containing an issue security scheme.]]></ns2:doc><ns2:representation
                        element="issuesecurityscheme"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issuesecurityschemes/1000","id":1000,"name":"Default Issue Security Scheme","description":"Description for the default issue security scheme","defaultSecurityLevelId":10021,"levels":[{"self":"http://www.example.com/jira/rest/api/2/securitylevel/10021","id":"10021","description":"Only the reporter and internal staff can see this issue.","name":"Reporter Only"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user has the administrator permission or if the scheme is used in a project in which the user has the administrative permission.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/security-scheme#","title":"Security Scheme","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"defaultSecurityLevelId":{"type":"integer"},"levels":{"type":"array","items":{"title":"Security Level","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[an object containing an issue security scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[an object containing an issue security scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is visible for calling user, but the user doesn't have administrative permissions]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[an object containing an issue security scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project does not exist, or is not visible to the calling user]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/project/{projectIdOrKey}/role"><ns2:param
                name="projectIdOrKey" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project id or project key]]></ns2:doc></ns2:param><ns2:method
                id="getProjectRoles"
                    name="GET"><ns2:doc><![CDATA[Returns all roles in the given project Id or key, with links to full details on each role.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[list of roles and URIs to full details]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"Administrators":"http://www.example.com/jira/rest/api/2/project/MKY/role/10002","Users":"http://www.example.com/jira/rest/api/2/project/MKY/role/10001","Developers":"http://www.example.com/jira/rest/api/2/project/MKY/role/10000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a map of the roles to URIs containing full details for each role. The project must exist and the user must have permission to view it.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[list of roles and URIs to full details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project is not found, or the calling user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="projectIdOrKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project id or project key]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project role id]]></ns2:doc></ns2:param><ns2:method
                    id="getProjectRole"
                        name="GET"><ns2:doc><![CDATA[Returns the details for a given project role in a project.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[full details on the role and its actors. Actors are sorted by their display name.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the role name, description, and project actors (users and groups) for the requested role. The project must exist and the user must have permission to view it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[full details on the role and its actors. Actors are sorted by their display name.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project or role is not found, or the calling user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setActors"
                            name="PUT"><ns2:doc><![CDATA[Updates a project role to include the specified actors (users or groups).]]></ns2:doc><ns2:request><ns2:representation
                            element="actor"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10360,"categorisedActors":{"atlassian-user-role-actor":["admin"],"atlassian-group-role-actor":["jira-developers"]}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role-actors-update#","title":"Project Role Actors Update","type":"object","properties":{"id":{"type":"integer"},"categorisedActors":{"type":"object","patternProperties":{".+":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[full details on the role and its actors after modification]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the role name, description, and project actors (users and groups) for the requested role. The project must exist and the user must have permission to view it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[full details on the role and its actors after modification]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the actor could not be added to the project role]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addActorUsers"
                            name="POST"><ns2:doc><![CDATA[Adds an actor (user or group) to a project role.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{ "user" : ["admin"] }  or
 { "group" : ["jira-developers"] }</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"object","patternProperties":{".+":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[full details on the role and its actors after modification]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the role name, description, and project actors (users and groups) for the requested role. The project must exist and the user must have permission to view it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[full details on the role and its actors after modification]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the actor could not be added to the project role]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteActor"
                            name="DELETE"><ns2:doc><![CDATA[Deletes actors (users or groups) from a project role.
 <p>
 <ul>
 <li>Delete a user from the role: <code>/rest/api/2/project/{projectIdOrKey}/role/{roleId}?user={username}</code></li>
 <li>Delete a group from the role: <code>/rest/api/2/project/{projectIdOrKey}/role/{roleId}?group={groupname}</code></li>
 </ul>]]></ns2:doc><ns2:request><ns2:param
                            name="user" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the username to remove from the project role]]></ns2:doc></ns2:param><ns2:param
                            name="group" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the groupname to remove from the project role]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="204"><ns2:doc><![CDATA[no content on success]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the actor was successfully removed from the project role.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[no content on success]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project or role is not found, the calling user does not have permission to view it or does
 not have permission to modify the actors in the project role.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2//"><ns2:doc><![CDATA[Provide permission information for the current user.]]></ns2:doc><ns2:resource
                    path="permissions"><ns2:method
                    id="getAllPermissions"
                        name="GET"><ns2:doc><![CDATA[Returns all permissions that are present in the JIRA instance - Global, Project and the global ones added by plugins]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[all permissions]]></ns2:doc><ns2:representation
                            element="permission"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"permissions":{"BULK_CHANGE":{"key":"BULK_CHANGE","name":"Bulk Change","type":"GLOBAL","description":"Ability to modify a collection of issues at once. For example, resolve multiple issues in one step."}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of all permissions in JIRA.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permissions#","title":"Permissions","type":"object","properties":{"permissions":{"type":"object","patternProperties":{".+":{"title":"Permission","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["GLOBAL","PROJECT"]},"description":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[all permissions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned for unauthenticated requests]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[all permissions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned for users without administer permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="mypermissions"><ns2:method id="getPermissions"
                            name="GET"><ns2:doc><![CDATA[Returns all permissions in the system and whether the currently logged in user has them. You can optionally provide a specific context to get permissions for
 (projectKey OR projectId OR issueKey OR issueId)
 <ul>
 <li> When no context supplied the project related permissions will return true if the user has that permission in ANY project </li>
 <li> If a project context is provided, project related permissions will return true if the user has the permissions in the specified project.
 For permissions that are determined using issue data (e.g Current Assignee), true will be returned if the user meets the permission criteria in ANY issue in that project </li>
 <li> If an issue context is provided, it will return whether or not the user has each permission in that specific issue</li>
 </ul>
 <p>
 NB: The above means that for issue-level permissions (EDIT_ISSUE for example), hasPermission may be true when no context is provided, or when a project context is provided,
 <b>but</b> may be false for any given (or all) issues. This would occur (for example) if Reporters were given the EDIT_ISSUE permission. This is because
 any user could be a reporter, except in the context of a concrete issue, where the reporter is known.
 </p>
 <p>
 Global permissions will still be returned for all scopes.
 </p>
 <p>
 Prior to version 6.4 this service returned project permissions with keys corresponding to com.atlassian.jira.security.Permissions.Permission constants.
 Since 6.4 those keys are considered deprecated and this service returns system project permission keys corresponding to constants defined in com.atlassian.jira.permission.ProjectPermissions.
 Permissions with legacy keys are still also returned for backwards compatibility, they are marked with an attribute deprecatedKey=true.
 The attribute is missing for project permissions with the current keys.
 </p>]]></ns2:doc><ns2:request><ns2:param
                            name="projectKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- key of project to scope returned permissions for.]]></ns2:doc></ns2:param><ns2:param
                            name="projectId" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- id of project to scope returned permissions for.]]></ns2:doc></ns2:param><ns2:param
                            name="issueKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- key of the issue to scope returned permissions for.]]></ns2:doc></ns2:param><ns2:param
                            name="issueId" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[- id of the issue to scope returned permissions for.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[all permissions and whether the currently logged in user has them.]]></ns2:doc><ns2:representation
                            element="permission"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"permissions":{"EDIT_ISSUE":{"id":"12","key":"EDIT_ISSUES","name":"Edit Issues","type":"PROJECT","description":"Ability to edit issues.","havePermission":true}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of all permissions in JIRA and whether the user has them.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permissions#","title":"Permissions","type":"object","properties":{"permissions":{"type":"object","patternProperties":{".+":{"title":"Permission","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["GLOBAL","PROJECT"]},"description":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[all permissions and whether the currently logged in user has them.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project or issue id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[all permissions and whether the currently logged in user has them.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project or issue id or key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/securitylevel"><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing an issue security level id]]></ns2:doc></ns2:param><ns2:method
                    id="getIssuesecuritylevel"
                        name="GET"><ns2:doc><![CDATA[Returns a full representation of the security level that has the given id.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a full representation of the issue security level with the given id]]></ns2:doc><ns2:representation
                            element="issuesecuritylevel"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/securitylevel/10021","id":"10021","description":"Only the reporter and internal staff can see this issue.","name":"Reporter Only"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue type exists and is visible by the calling user.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/security-level#","title":"Security Level","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a full representation of the issue security level with the given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type does not exist, or is not visible to the calling user.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/version"><ns2:method id="createVersion"
                        name="POST"><ns2:doc><![CDATA[Create a version via POST.]]></ns2:doc><ns2:request><ns2:representation
                        element="version"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"description":"An excellent version","name":"New Version 1","archived":false,"released":true,"releaseDate":"2010-07-06","userReleaseDate":"6/Jul/2010","project":"PXA","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version#","title":"Version","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"description":"An excellent version","name":"New Version 1","archived":false,"released":true,"releaseDate":"2010-07-06","userReleaseDate":"6/Jul/2010","project":"PXA","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version is created successfully.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version#","title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to edit the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version to delete]]></ns2:doc></ns2:param><ns2:method
                    id="getVersion"
                            name="GET"><ns2:doc><![CDATA[Returns a project version.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a project version]]></ns2:doc><ns2:representation
                            element="version"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/version/10000","id":"10000","description":"An excellent version","name":"New Version 1","archived":false,"released":true,"releaseDate":"2010-07-06","overdue":true,"userReleaseDate":"6/Jul/2010","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version exists and the currently authenticated user has permission to view it. Contains a
 full representation of the version.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version#","title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a project version]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateVersion"
                            name="PUT"><ns2:doc><![CDATA[Modify a version via PUT. Any fields present in the PUT will override existing values. As a convenience, if a field
 is not present, it is silently ignored.]]></ns2:doc><ns2:request><ns2:representation
                            element="version"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/version/10000","id":"10000","description":"An excellent version","name":"New Version 1","archived":false,"released":true,"releaseDate":"2010-07-06","overdue":true,"userReleaseDate":"6/Jul/2010","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version#","title":"Version","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the version exists and the currently authenticated user has permission to edit it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version#","title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to edit the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="delete"
                            name="DELETE"><ns2:doc><![CDATA[Delete a project version.]]></ns2:doc><ns2:request><ns2:param
                            name="moveFixIssuesTo" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version to set fixVersion to on issues where the deleted version is the fix version,
                             If null then the fixVersion is removed.]]></ns2:doc></ns2:param><ns2:param
                            name="moveAffectedIssuesTo" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version to set affectedVersion to on issues where the deleted version is the affected version,
                             If null then the affectedVersion is removed.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="204"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to delete the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/relatedIssueCounts"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the version id]]></ns2:doc></ns2:param><ns2:method
                    id="getVersionRelatedIssues"
                        name="GET"><ns2:doc><![CDATA[Returns a bean containing the number of fixed in and affected issues for the given version.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[an issue counts bean]]></ns2:doc><ns2:representation
                            element="issue Count Bean"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/version/10000","issuesFixedCount":23,"issuesAffectedCount":101,"issueCountWithCustomFieldsShowingVersion":54,"customFieldUsage":[{"fieldName":"Field1","customFieldId":10000,"issueCountWithVersionInCustomField":2},{"fieldName":"Field2","customFieldId":10010,"issueCountWithVersionInCustomField":3}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version exists and the currently authenticated user has permission to view it. Contains
 counts of issues fixed in and affecting this version, custom fields connected to this version.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version-issue-counts#","title":"Version Issue Counts","type":"object","properties":{"self":{"type":"string","format":"uri"},"issuesFixedCount":{"type":"integer"},"issuesAffectedCount":{"type":"integer"},"issueCountWithCustomFieldsShowingVersion":{"type":"integer"},"customFieldUsage":{"type":"array","items":{"title":"Version Usage In Custom Fields","type":"object","properties":{"fieldName":{"type":"string"},"customFieldId":{"type":"integer"},"issueCountWithVersionInCustomField":{"type":"integer"}},"additionalProperties":false,"required":["customFieldId","issueCountWithVersionInCustomField"]}}},"additionalProperties":false,"required":["issuesFixedCount","issuesAffectedCount","issueCountWithCustomFieldsShowingVersion"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[an issue counts bean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/unresolvedIssueCount"><ns2:param
                    name="id" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the version id]]></ns2:doc></ns2:param><ns2:method
                    id="getVersionUnresolvedIssues"
                        name="GET"><ns2:doc><![CDATA[Returns the number of unresolved issues for the given version]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[an unresolved issue count bean]]></ns2:doc><ns2:representation
                            element="issuesUnresolvedCount"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/version/10000","issuesUnresolvedCount":23}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version exists and the currently authenticated user has permission to view it. Contains
 counts of issues unresolved in this version.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version-unresolved-issue-counts#","title":"Version Unresolved Issue Counts","type":"object","properties":{"self":{"type":"string","format":"uri"},"issuesUnresolvedCount":{"type":"integer"}},"additionalProperties":false,"required":["issuesUnresolvedCount"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[an unresolved issue count bean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="/{id}/move"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the version id]]></ns2:doc></ns2:param><ns2:method
                    id="moveVersion"
                            name="POST"><ns2:doc><![CDATA[Modify a version's sequence within a project.
 <p/>
 The move version bean has 2 alternative field value pairs:
 <dl>
 <dt>position</dt><dd>An absolute position, which may have a value of 'First', 'Last', 'Earlier' or 'Later'</dd>
 <dt>after</dt><dd>A version to place this version after.  The value should be the self link of another version</dd>
 </dl>]]></ns2:doc><ns2:request><ns2:representation
                            element="version"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"after":"http://www.example.com/jira/rest/api/2/version/10000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version-move#","title":"Version Move","type":"object","properties":{"after":{"type":"string","format":"uri"},"position":{"type":"string","enum":["Earlier","Later","First","Last"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a project version]]></ns2:doc><ns2:representation
                            element="version"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/version/10000","id":"10000","description":"An excellent version","name":"New Version 1","archived":false,"released":true,"releaseDate":"2010-07-06","overdue":true,"userReleaseDate":"6/Jul/2010","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version exists and the currently authenticated user has permission to view it. Contains a
 full representation of the version moved.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/version#","title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a project version]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version, or target of the version to move after does not exist or the currently authenticated
 user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="remotelink"><ns2:method
                    id="getRemoteVersionLinks"
                            name="GET"><ns2:doc><![CDATA[Returns the remote version links for a given global ID.]]></ns2:doc><ns2:request><ns2:param
                            name="globalId" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the global ID of the remote resource that is linked to the versions]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a remote version link]]></ns2:doc><ns2:representation
                            element="remoteVersionLinks"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"links":[{"self":"http://www.example.com/version/10000/SomeGlobalId","name":"Version 1","link":{ "globalId": "SomeGlobalId", "myCustomLinkProperty": true, "colors": [ "red", "green", "blue" ]}},{"self":"http://www.example.com/version/10101/SomeGlobalId","name":"Version 2","link":{ "globalId": "SomeGlobalId" }}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Contains a list of remote version links.  Any existing links that the user does not
 have permission to see will be filtered out.  The user must have BROWSE permission
 for the project to see links to its versions.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-remote-entity-link#","title":"List of Remote Entity Link","type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{versionId}/remotelink"><ns2:param
                    name="versionId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version for which to delete ALL existing remote version links]]></ns2:doc></ns2:param><ns2:method
                    id="getRemoteVersionLinksByVersionId"
                        name="GET"><ns2:doc><![CDATA[Returns the remote version links associated with the given version ID.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[the remote links for that project version]]></ns2:doc><ns2:representation
                            element="remoteVersionLinks"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"links":[{"self":"http://www.example.com/version/10000/AnotherGlobalId","name":"Version 1","link":{ "globalId": "AnotherGlobalId", "myCustomLinkProperty": false, "colors": [ "cyan", "magenta", "yellow" ]}},{"self":"http://www.example.com/version/10000/SomeGlobalId","name":"Version 1","link":{ "globalId": "SomeGlobalId", "myCustomLinkProperty": true, "colors": [ "red", "green", "blue" ]}}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version exists and the currently authenticated user has permission to view it, which
 is restricted to those users with BROWSE permission for the project. Contains a full representation
 of the remote version links.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/remote-entity-link#","title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the remote links for that project version]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="createOrUpdateRemoteVersionLink"
                            name="POST"><ns2:doc><![CDATA[Create a remote version link via POST.  The link's global ID will be taken from the
 JSON payload if provided; otherwise, it will be generated.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"globalId":"SomeGlobalId","myCustomLinkProperty":true,"colors":["red","green","blue"],"notes":["Remote version links may take any well-formed JSON shape that is desired,","provided that they fit within the maximum buffer size allowed,","which is currently 32,768 characters."]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/string#","title":"String","type":"string"}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="201"><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>Returned if the remote version link is created or updated successfully.
 The document has no content, and a </ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version is created successfully.  The document will has no content,
 and a {@code Location:} header contains the self-URI for the newly created link.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the JSON payload is empty or malformed]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to edit the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteRemoteVersionLinksByVersionId"
                        name="DELETE"><ns2:doc><![CDATA[Delete all remote version links for a given version ID.]]></ns2:doc><ns2:response
                        status="204"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the remote version links are successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have administrative rights to the project
 and thereby cannot delete remote links to the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist, the currently authenticated user does not have permission to
 view it, or the version does not have any remote links to delete]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{versionId}/remotelink/{globalId}"><ns2:param
                    name="versionId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version ID of the remote link]]></ns2:doc></ns2:param><ns2:param
                    name="globalId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The global ID of the remote link]]></ns2:doc></ns2:param><ns2:method
                    id="getRemoteVersionLink"
                        name="GET"><ns2:doc><![CDATA[A REST sub-resource representing a remote version link]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[if no globalId is specified, a {@code Response} containing a {@code RemoteEntityLinksJsonBean}s
 is returned.  Otherwise, a Response containing a {@code RemoteEntityLinkJsonBean} with the given
 {@code globalId} is returned.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/version/10000/SomeGlobalId","name":"Version 1","link":{ "globalId": "SomeGlobalId", "myCustomLinkProperty": true, "colors": [ "red", "green", "blue" ]}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Information on the remote version link (or links)]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/remote-entity-link#","title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[if no globalId is specified, a {@code Response} containing a {@code RemoteEntityLinksJsonBean}s
 is returned.  Otherwise, a Response containing a {@code RemoteEntityLinkJsonBean} with the given
 {@code globalId} is returned.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version or remote version link does not exist or if the user does not have
 the BROWSE permission for the project that owns the specified version]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="createOrUpdateRemoteVersionLink"
                            name="POST"><ns2:doc><![CDATA[Create a remote version link via POST.  The link's global ID will be taken from the
 JSON payload if provided; otherwise, it will be generated.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"globalId":"SomeGlobalId","myCustomLinkProperty":true,"colors":["red","green","blue"],"notes":["Remote version links may take any well-formed JSON shape that is desired,","provided that they fit within the maximum buffer size allowed,","which is currently 32,768 characters."]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/string#","title":"String","type":"string"}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="201"><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>Returned if the remote version link is created or updated successfully.
 The document has no content, and a </ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the version is created successfully.  The document will has no content,
 and a {@code Location:} header contains the self-URI for the newly created link.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the JSON payload is empty or malformed]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to edit the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteRemoteVersionLink"
                        name="DELETE"><ns2:doc><![CDATA[Delete a specific remote version link with the given version ID and global ID.]]></ns2:doc><ns2:response
                        status="204"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the remote version link is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have administrative rights to the project
 and thereby cannot delete remote links to the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist, the currently authenticated user does not have permission to
 view it, or the version does not have a link for the given global ID]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/removeAndSwap"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version to delete]]></ns2:doc></ns2:param><ns2:method
                    id="delete"
                            name="POST"><ns2:doc><![CDATA[Delete a project version.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/delete-and-replace-version#","title":"Delete And Replace Version","type":"object"}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="204"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to delete the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/mergeto/{moveIssuesTo}"><ns2:param
                    name="moveIssuesTo" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version to set fixVersion to on issues where the deleted version is the fix version,
                     If null then the fixVersion is removed.]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The version that will be merged to version {@code moveIssuesTo} and removed]]></ns2:doc></ns2:param><ns2:method
                    id="merge"
                        name="PUT"><ns2:doc><![CDATA[Merge versions]]></ns2:doc><ns2:response
                        status="204"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to delete the version.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the version does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/workflow"><ns2:doc><![CDATA[REST resource for retrieving workflows.]]></ns2:doc><ns2:method
                id="getAllWorkflows"
                        name="GET"><ns2:doc><![CDATA[Returns all workflows.]]></ns2:doc><ns2:request><ns2:param
                        name="workflowName" style="query"
                        type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[all workflows.]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><![CDATA[Returned if the currently authenticated user has administration permission. Contains a
 full representation of every workflow.]]></ns2:doc><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/workflow#","title":"Workflow","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"lastModifiedDate":{"type":"string"},"lastModifiedUser":{"type":"string"},"steps":{"type":"integer"},"isDefault":{"type":"boolean"}},"additionalProperties":false,"required":["isDefault"]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-workflow#","title":"List of Workflow","type":"array","items":{"title":"Workflow","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"lastModifiedDate":{"type":"string"},"lastModifiedUser":{"type":"string"},"steps":{"type":"integer"},"isDefault":{"type":"boolean"}},"additionalProperties":false,"required":["isDefault"]}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[all workflows.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have administration permission.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="api/2/transitions"><ns2:resource
                        path="{id}/properties"><ns2:param name="id"
                        style="template" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the ID of the transition within the workflow.]]></ns2:doc></ns2:param><ns2:method
                        id="deleteProperty"
                                name="DELETE"><ns2:doc><![CDATA[Delete a property from the passed transition on the passed workflow. It is not an error to delete a property that
 does not exist.]]></ns2:doc><ns2:request><ns2:param
                                name="key" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the property to add.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowName" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow to use.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowMode" style="query"
                                type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the type of workflow to use. Can either be "live" or "draft".]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                status="200"><ns2:representation
                            mediaType="application/json"/></ns2:response><ns2:response
                            status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have admin permission]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="304"><ns2:representation><ns2:doc><![CDATA[Returned if no changes were actually made by the request (e.g. trying to delete a property that does not exist).]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                        id="createProperty"
                                name="POST"><ns2:doc><![CDATA[Add a new property to a transition. Trying to add a property that already
 exists will fail.]]></ns2:doc><ns2:request><ns2:param
                                name="key" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the property to add.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowName" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow to use.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowMode" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the type of workflow to use. Can either be "live" or "draft".]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"value":"createissue"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/property#","title":"Property","type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                status="200"><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"jira.i18n.title","value":"some.title","id":"jira.i18n.title"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/property#","title":"Property","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have admin permission]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                        id="updateProperty"
                                name="PUT"><ns2:doc><![CDATA[Update/add new property to a transition. Trying to update a property that does
 not exist will result in a new property being added.]]></ns2:doc><ns2:request><ns2:param
                                name="key" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the property to add.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowName" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow to use.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowMode" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the type of workflow to use. Can either be "live" or "draft".]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"value":"createissue"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/property#","title":"Property","type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                status="200"><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"jira.i18n.title","value":"some.title","id":"jira.i18n.title"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/property#","title":"Property","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the request is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have admin permission]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="304"><ns2:representation><ns2:doc><![CDATA[Returned if no changes were actually made by the request (e.g. updating a property to value it already holds).]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                        id="getProperties"
                                name="GET"><ns2:doc><![CDATA[Return the property or properties associated with a transition.]]></ns2:doc><ns2:request><ns2:param
                                name="includeReservedKeys" style="query"
                                type="xs:boolean"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[some keys under the "jira." prefix are editable, some are not. Set this to true
                            in order to include the non-editable keys in the response.]]></ns2:doc></ns2:param><ns2:param
                                name="key" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the property key to query. Can be left off the query to return all properties.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowName" style="query"
                                type="xs:string"
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the name of the workflow to use.]]></ns2:doc></ns2:param><ns2:param
                                name="workflowMode" style="query"
                                type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the type of workflow to use. Can either be "live" or "draft".]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                status="200"><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"jira.i18n.title","value":"some.title","id":"jira.i18n.title"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/property#","title":"Property","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-property#","title":"List of Property","type":"array","items":{"title":"Property","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have admin permission]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource></ns2:resource><ns2:resource
                path="api/2/notificationscheme"><ns2:method
                id="getNotificationSchemes"
                        name="GET"><ns2:doc><![CDATA[Returns a <a href="#pagination">paginated</a> list of notification schemes. In order to access notification scheme, the calling user is
 required to have permissions to administer at least one project associated with the requested notification scheme. Each scheme contains
 a list of events and recipient configured to receive notifications for these events. Consumer should allow events without recipients to appear in response.
 The list is ordered by the scheme's name.
 Follow the documentation of /notificationscheme/{id} resource for all details about returned value.]]></ns2:doc><ns2:request><ns2:param
                        name="startAt" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first notification scheme to return (0 based).]]></ns2:doc></ns2:param><ns2:param
                        name="maxResults" style="query" type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of notification schemes to return (max 50).]]></ns2:doc></ns2:param><ns2:param
                        name="expand" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a paginated list of notification schemes to which the calling user has permissions.]]></ns2:doc><ns2:representation
                        element="notificationScheme"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"maxResults":6,"startAt":1,"total":5,"isLast":false,"values":[{"expand":"notificationSchemeEvents,user,group,projectRole,field,all","id":10100,"self":"http://example.com/jira/rest/api/2/notificationscheme/10010","name":"notification scheme name","description":"description","notificationSchemeEvents":[{"event":{"id":1,"name":"Issue created","description":"Event published when issue is created"},"notifications":[{"id":1,"notificationType":"Group","parameter":"jira-administrators","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"},"expand":"group"},{"id":2,"notificationType":"CurrentAssignee"},{"id":3,"notificationType":"ProjectRole","parameter":"10360","projectRole":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]},"expand":"projectRole"},{"id":4,"notificationType":"EmailAddress","parameter":"rest-developer@atlassian.com","emailAddress":"rest-developer@atlassian.com"},{"id":5,"notificationType":"User","user":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"expand":"user"},{"id":6,"notificationType":"GroupCustomField","parameter":"customfield_10101","field":{"id":"customfield_10101","name":"New custom field","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10101]","New custom field"],"schema":{"type":"project","custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101}},"expand":"field"}]},{"event":{"id":20,"name":"Custom event","description":"Custom event which is published together with issue created event","templateEvent":{"id":1,"name":"Issue created","description":"Event published when issue is created"}},"notifications":[{"id":1,"notificationType":"Group","parameter":"jira-administrators","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"},"expand":"group"},{"id":2,"notificationType":"CurrentAssignee"},{"id":3,"notificationType":"ProjectRole","parameter":"10360","projectRole":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]},"expand":"projectRole"},{"id":4,"notificationType":"EmailAddress","parameter":"rest-developer@atlassian.com","emailAddress":"rest-developer@atlassian.com"},{"id":5,"notificationType":"User","user":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"expand":"user"},{"id":6,"notificationType":"GroupCustomField","parameter":"customfield_10101","field":{"id":"customfield_10101","name":"New custom field","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10101]","New custom field"],"schema":{"type":"project","custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101}},"expand":"field"}]}]}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Paginated list of notification schemes to which the user has permissions.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/page-of-notification-scheme#","title":"Page of Notification Scheme","type":"object","properties":{"self":{"type":"string","format":"uri"},"nextPage":{"type":"string","format":"uri"},"maxResults":{"type":"integer"},"startAt":{"type":"integer"},"total":{"type":"integer"},"isLast":{"type":"boolean"},"values":{"type":"array","items":{"title":"Notification Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"notificationSchemeEvents":{"type":"array","items":{"title":"Notification Scheme Event","type":"object","properties":{"event":{"$ref":"#/definitions/notification-event"},"notifications":{"type":"array","items":{"title":"Notification","type":"object","anyOf":[{"$ref":"#/definitions/custom-field-value-notification"},{"$ref":"#/definitions/email-notification"},{"$ref":"#/definitions/group-notification"},{"$ref":"#/definitions/project-role-notification"},{"$ref":"#/definitions/role-notification"},{"$ref":"#/definitions/user-notification"}]}}},"additionalProperties":false}}},"additionalProperties":false}}},"definitions":{"custom-field-value-notification":{"title":"Custom Field Value Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"email-notification":{"title":"Email Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"emailAddress":{"type":"string"}},"additionalProperties":false},"group-notification":{"title":"Group Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}},"additionalProperties":false},"notification-event":{"title":"Notification Event","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"templateEvent":{"$ref":"#/definitions/notification-event"}},"additionalProperties":false},"project-role-notification":{"title":"Project Role Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"role-notification":{"title":"Role Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"}},"additionalProperties":false},"user-notification":{"title":"User Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}},"additionalProperties":false,"required":["maxResults","startAt"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[an id of the notification scheme to retrieve]]></ns2:doc></ns2:param><ns2:method
                    id="getNotificationScheme"
                            name="GET"><ns2:doc><![CDATA[Returns a full representation of the notification scheme for the given id. This resource will return a
 notification scheme containing a list of events and recipient configured to receive notifications for these events. Consumer
 should allow events without recipients to appear in response. User accessing
 the data is required to have permissions to administer at least one project associated with the requested notification scheme.
 <p>
 Notification recipients can be:
 <ul>
 <li>current assignee - the value of the notificationType is CurrentAssignee</li>
 <li>issue reporter - the value of the notificationType is Reporter</li>
 <li>current user - the value of the notificationType is CurrentUser</li>
 <li>project lead - the value of the notificationType is ProjectLead</li>
 <li>component lead - the value of the notificationType is ComponentLead</li>
 <li>all watchers - the value of the notification type is AllWatchers</li>
 <li>configured user - the value of the notification type is User. Parameter will contain key of the user. Information about the user will be provided
 if <b>user</b> expand parameter is used. </li>
 <li>configured group - the value of the notification type is Group. Parameter will contain name of the group. Information about the group will be provided
 if <b>group</b> expand parameter is used. </li>
 <li>configured email address - the value of the notification type is EmailAddress, additionally information about the email will be provided.</li>
 <li>users or users in groups in the configured custom fields - the value of the notification type is UserCustomField or GroupCustomField. Parameter
 will contain id of the custom field. Information about the field will be provided if <b>field</b> expand parameter is used. </li>
 <li>configured project role - the value of the notification type is ProjectRole. Parameter will contain project role id. Information about the project role
 will be provided if <b>projectRole</b> expand parameter is used. </li>
 </ul>
 Please see the example for reference.
 </p>
 The events can be JIRA system events or events configured by administrator. In case of the system events, data about theirs
 ids, names and descriptions is provided. In case of custom events, the template event is included as well.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a full representation of the notification scheme with given id]]></ns2:doc><ns2:representation
                            element="notificationScheme"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"notificationSchemeEvents,user,group,projectRole,field,all","id":10100,"self":"http://example.com/jira/rest/api/2/notificationscheme/10010","name":"notification scheme name","description":"description","notificationSchemeEvents":[{"event":{"id":1,"name":"Issue created","description":"Event published when issue is created"},"notifications":[{"id":1,"notificationType":"Group","parameter":"jira-administrators","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"},"expand":"group"},{"id":2,"notificationType":"CurrentAssignee"},{"id":3,"notificationType":"ProjectRole","parameter":"10360","projectRole":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]},"expand":"projectRole"},{"id":4,"notificationType":"EmailAddress","parameter":"rest-developer@atlassian.com","emailAddress":"rest-developer@atlassian.com"},{"id":5,"notificationType":"User","user":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"expand":"user"},{"id":6,"notificationType":"GroupCustomField","parameter":"customfield_10101","field":{"id":"customfield_10101","name":"New custom field","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10101]","New custom field"],"schema":{"type":"project","custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101}},"expand":"field"}]},{"event":{"id":20,"name":"Custom event","description":"Custom event which is published together with issue created event","templateEvent":{"id":1,"name":"Issue created","description":"Event published when issue is created"}},"notifications":[{"id":1,"notificationType":"Group","parameter":"jira-administrators","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"},"expand":"group"},{"id":2,"notificationType":"CurrentAssignee"},{"id":3,"notificationType":"ProjectRole","parameter":"10360","projectRole":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]},"expand":"projectRole"},{"id":4,"notificationType":"EmailAddress","parameter":"rest-developer@atlassian.com","emailAddress":"rest-developer@atlassian.com"},{"id":5,"notificationType":"User","user":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"expand":"user"},{"id":6,"notificationType":"GroupCustomField","parameter":"customfield_10101","field":{"id":"customfield_10101","name":"New custom field","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10101]","New custom field"],"schema":{"type":"project","custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101}},"expand":"field"}]}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the notification scheme exists and is visible for the calling user]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/notification-scheme#","title":"Notification Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"notificationSchemeEvents":{"type":"array","items":{"title":"Notification Scheme Event","type":"object","properties":{"event":{"$ref":"#/definitions/notification-event"},"notifications":{"type":"array","items":{"title":"Notification","type":"object","anyOf":[{"$ref":"#/definitions/custom-field-value-notification"},{"$ref":"#/definitions/email-notification"},{"$ref":"#/definitions/group-notification"},{"$ref":"#/definitions/project-role-notification"},{"$ref":"#/definitions/role-notification"},{"$ref":"#/definitions/user-notification"}]}}},"additionalProperties":false}}},"definitions":{"custom-field-value-notification":{"title":"Custom Field Value Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"email-notification":{"title":"Email Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"emailAddress":{"type":"string"}},"additionalProperties":false},"group-notification":{"title":"Group Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}},"additionalProperties":false},"notification-event":{"title":"Notification Event","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"templateEvent":{"$ref":"#/definitions/notification-event"}},"additionalProperties":false},"project-role-notification":{"title":"Project Role Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"role-notification":{"title":"Role Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"}},"additionalProperties":false},"user-notification":{"title":"User Notification","type":"object","properties":{"id":{"type":"integer"},"notificationType":{"type":"string"},"parameter":{"type":"string"},"expand":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a full representation of the notification scheme with given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the notification scheme does not exist, or is not visible to the calling user]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/groupuserpicker"><ns2:method
                id="findUsersAndGroups"
                        name="GET"><ns2:doc><![CDATA[Returns a list of users and groups matching query with highlighting. This resource cannot be accessed
 anonymously.]]></ns2:doc><ns2:request><ns2:param
                        name="query" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[A string used to search username, Name or e-mail address]]></ns2:doc></ns2:param><ns2:param
                        name="maxResults" style="query" type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (defaults to 50). The maximum allowed value is 1000. If
                    you specify a value that is higher than this number, your search results will be truncated.]]></ns2:doc></ns2:param><ns2:param
                        name="showAvatar" style="query"
                        type="xs:boolean"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                        name="fieldId" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The custom field id, if this request comes from a custom field, such as a user picker. Optional.]]></ns2:doc></ns2:param><ns2:param
                        name="projectId" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The list of project ids to further restrict the search
                    This parameter can occur multiple times to pass in multiple project ids.
                    Comma separated value is not supported.
                    This parameter is only used when fieldId is present.]]></ns2:doc></ns2:param><ns2:param
                        name="issueTypeId" style="query"
                        type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The list of issue type ids to further restrict the search.
                    This parameter can occur multiple times to pass in multiple issue type ids.
                    Comma separated value is not supported.
                    Special values such as -1 (all standard issue types), -2 (all subtask issue types) are supported.
                    This parameter is only used when fieldId is present.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[An object containing list of matched user objects, with html representing highlighting.]]></ns2:doc><ns2:representation
                                element="users-and-groups"><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/users-and-groups#","title":"Users And Groups","type":"object","properties":{"users":{"title":"User Picker Results","type":"object","properties":{"users":{"type":"array","items":{"title":"User Picker User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"html":{"type":"string"},"displayName":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}},"total":{"type":"integer"},"header":{"type":"string"}},"additionalProperties":false},"groups":{"title":"Group Suggestions","type":"object","properties":{"header":{"type":"string"},"total":{"type":"integer"},"groups":{"type":"array","items":{"title":"Group Suggestion","type":"object","properties":{"name":{"type":"string"},"html":{"type":"string"},"labels":{"type":"array","items":{"title":"Group Label","type":"object","properties":{"text":{"type":"string"},"title":{"type":"string"},"type":{"type":"string","enum":["ADMIN","SINGLE","MULTIPLE"]}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/board"><ns2:resource
                    path="{boardId}/data"><ns2:param name="boardId"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getBoard"
                        name="GET"><ns2:doc><![CDATA[Returns the board data with the given board id, or an error.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[The board data for the board with the given id]]></ns2:doc><ns2:representation
                            element="boardData"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10100,"issues":[{"id":10100,"url":"/jira/browse/SCRUM-2","key":"SCRUM-2","summary":"Another issue","assigneeKey":"admin","statusId":10000},{"id":10000,"url":"/jira/browse/SCRUM-1","key":"SCRUM-1","summary":"First issue!","assigneeKey":"","statusId":10000}],"issuesMetadata":{"maxResults":2,"total":2},"statuses":[{"id":10000,"name":"To Do"},{"id":3,"name":"In Progress"},{"id":10001,"name":"Done"}],"people":{"admin":{"key":"admin","displayName":"admin","avatarUrl":"http://localhost:2990/jira/secure/useravatar?avatarId=10340"}},"columns":[{"name":"To Do","statusIds":[10000]},{"name":"In Progress","statusIds":[3]},{"name":"Done","statusIds":[10001]}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a representation of the board data with the given board id]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/board-data-jsonable#","title":"Board Data Jsonable","type":"object","properties":{"id":{"type":"integer"},"issues":{"type":"array","items":{"title":"Board Issue Jsonable","type":"object","properties":{"id":{"type":"integer"},"url":{"type":"string"},"key":{"type":"string"},"summary":{"type":"string"},"assigneeKey":{"type":"string"},"statusId":{"type":"integer"}},"additionalProperties":false}},"issuesMetadata":{"title":"Board Issue Metadata Jsonable","type":"object","properties":{"maxResults":{"type":"integer"},"total":{"type":"integer"}},"additionalProperties":false,"required":["maxResults","total"]},"statuses":{"type":"array","items":{"title":"Board Status Jsonable","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}},"people":{"type":"object","patternProperties":{".+":{"title":"Board User Jsonable","type":"object","properties":{"key":{"type":"string"},"displayName":{"type":"string"},"avatarUrl":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"columns":{"type":"array","items":{"title":"Board Column Jsonable","type":"object","properties":{"name":{"type":"string"},"statusIds":{"type":"array","items":{"type":"integer"}}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[The board data for the board with the given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Indicates that the board with the given id contains invalid JQL]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="412"><ns2:doc><![CDATA[The board data for the board with the given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Indicates that the board is currently not supported and cannot be displayed]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[The board data for the board with the given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Indicates that the JIRA server encountered an unexpected error while fetching the board data]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="403"><ns2:doc><![CDATA[The board data for the board with the given id]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Indicates that the user trying to get the board data does not have permission to browse any projects in JIRA]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/role"><ns2:method id="getProjectRoles"
                    name="GET"><ns2:doc><![CDATA[Get all the ProjectRoles available in JIRA. Currently this list is global.]]></ns2:doc><ns2:response
                                status="200"><ns2:doc><![CDATA[Returns full details of the roles available in JIRA.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Developers","id":10360,"description":"A project role that represents developers in a project"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user is authenticated]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[Returns full details of the roles available in JIRA.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions or you are not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[Returns full details of the roles available in JIRA.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="createProjectRole"
                        name="POST"><ns2:doc><![CDATA[Creates a new ProjectRole to be available in JIRA.
 The created role does not have any default actors assigned.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"MyRole","description":"role description"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/create-update-role-request#","title":"Create Update Role Request","type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                status="200"><ns2:doc><![CDATA[Returns full details of the created role]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Developers","id":10360,"description":"A project role that represents developers in a project"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user is authenticated]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[Returns full details of the created role]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request json does not have a name field or the name field is invalid (empty or starts or ends with whitespace)]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[Returns full details of the created role]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you are not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[Returns full details of the created role]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions to create a role.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="409"><ns2:doc><![CDATA[Returns full details of the created role]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if a role with given name already exists.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getProjectRolesById"
                        name="GET"><ns2:doc><![CDATA[Get a specific ProjectRole available in JIRA.]]></ns2:doc><ns2:response
                                    status="200"><ns2:doc><![CDATA[Returns full details of the role available in JIRA.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Developers","id":10360,"description":"A project role that represents developers in a project"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user is authenticated]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[Returns full details of the role available in JIRA.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions or you are not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[Returns full details of the role available in JIRA.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[Returns full details of the role available in JIRA.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role with the given id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="partialUpdateProjectRole"
                            name="POST"><ns2:doc><![CDATA[Partially updates a roles name or description.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"MyRole","description":"role description"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/create-update-role-request#","title":"Create Update Role Request","type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Developers","id":10360,"description":"A project role that represents developers in a project"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the update was successful]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when both name and description are not given or name field is invalid (empty or starts or ends with whitespace).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role with the given id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="fullyUpdateProjectRole"
                            name="PUT"><ns2:doc><![CDATA[Fully updates a roles. Both name and description must be given.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"MyRole","description":"role description"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/create-update-role-request#","title":"Create Update Role Request","type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Developers","id":10360,"description":"A project role that represents developers in a project"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the update was successful]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when name or description is not given or the name field is invalid (empty or starts or ends with whitespace)]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[Returns updated role.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role with the given id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteProjectRole"
                            name="DELETE"><ns2:doc><![CDATA[Deletes a role. May return 403 in the future]]></ns2:doc><ns2:request><ns2:param
                            name="swap" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[if given, removes a role even if it is used in scheme by replacing the role with the given one]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if given role with given swap id does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[Returned if the delete was successful.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the role with the given id does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="409"><ns2:representation><ns2:doc><![CDATA[Returned if the project role is used in schemes and roleToSwap query parameter is not given.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/actors"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the role id to remove the actors from]]></ns2:doc></ns2:param><ns2:method
                    id="getProjectRoleActorsForRole"
                        name="GET"><ns2:doc><![CDATA[Gets default actors for the given role.]]></ns2:doc><ns2:response
                                    status="200"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the user is authenticated]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role with the given id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addProjectRoleActorsToRole"
                            name="POST"><ns2:doc><![CDATA[Adds default actors to the given role. The request data should contain a list of usernames or a list of groups to add.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"user":["admin"]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/actor-input#","title":"Actor Input","type":"object","properties":{"user":{"type":"array","items":{"type":"string"}},"group":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the update was successful]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-role#","title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user and group are both given or none are given or group or user in their respective lists does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[Returns actor list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role with the given id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteProjectRoleActorsFromRole"
                            name="DELETE"><ns2:doc><![CDATA[Removes default actor from the given role.]]></ns2:doc><ns2:request><ns2:param
                            name="user" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[if given, removes an actor from given role]]></ns2:doc></ns2:param><ns2:param
                            name="group" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[if given, removes an actor from given role]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[Returns updated actors list.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the update was successful.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[Returns updated actors list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user and group are not given, both user and group are given or provided group or user does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[Returns updated actors list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[Returns updated actors list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requesting user is not an admin or a sysadmin.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[Returns updated actors list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role with the given id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/groups"><ns2:doc><![CDATA[REST endpoint for searching groups in a group picker]]></ns2:doc><ns2:resource
                    path="/picker"><ns2:method id="findGroups"
                            name="GET"><ns2:doc><![CDATA[Returns groups with substrings matching a given query. This is mainly for use with
 the group picker, so the returned groups contain html to be used as picker suggestions.
 The groups are also wrapped in a single response object that also contains a header for
 use in the picker, specifically <i>Showing X of Y matching groups</i>.
 <p>
 The number of groups returned is limited by the system property "jira.ajax.autocomplete.limit"
 <p>
 The groups will be unique and sorted.]]></ns2:doc><ns2:request><ns2:param
                            name="query" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String to match groups agains]]></ns2:doc></ns2:param><ns2:param
                            name="exclude" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                            name="userName" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a collection of matching groups]]></ns2:doc><ns2:representation
                            element="groupsuggestions"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"header":"Showing 20 of 25 matching groups","total":25,"groups":[{"name":"jdog-developers","html":"&lt;b&gt;j&lt;/b&gt;dog-developers"},{"name":"juvenal-bot","html":"&lt;b&gt;j&lt;/b&gt;uvenal-bot"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned even if no groups match the given substring]]></ns2:doc><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/group-suggestions#","title":"Group Suggestions","type":"object","properties":{"header":{"type":"string"},"total":{"type":"integer"},"groups":{"type":"array","items":{"title":"Group Suggestion","type":"object","properties":{"name":{"type":"string"},"html":{"type":"string"},"labels":{"type":"array","items":{"title":"Group Label","type":"object","properties":{"text":{"type":"string"},"title":{"type":"string"},"type":{"type":"string","enum":["ADMIN","SINGLE","MULTIPLE"]}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/permissionscheme"><ns2:doc><![CDATA[Resource for managing permission schemes.

 <p>
     Permission scheme is a collection of permission grants. Each grant holds information about a permission granted to a group of users. These groups of users
     are called <b>holders</b> and are defined by two values: <b>type</b> and <b>parameter</b>. Type can be for example "group", or "user" and <b>parameter</b> is
     an additional specification. In case of groups the parameter will hold the group name, and in case of users: user id.
 </p>

 <p>
     Types can be extended by plugins, but here is a list of all built-in types (expected parameter contents are given in parenthesis):

     <dl>
         <dt><b>anyone</b></dt><dd>Grant for anonymous users.</dd>
         <dt><b>group</b> (group name)</dt><dd>Grant for the specified group</dd>
         <dt><b>user</b> (user id)</dt><dd>Grant for the specified user</dd>
         <dt><b>projectRole</b> (project role id)</dt><dd>Grant for the specified project role</dd>
         <dt><b>reporter</b></dt><dd>Grant for an issue reported</dd>
         <dt><b>projectLead</b></dt><dd>Grant for a project lead</dd>
         <dt><b>assignee</b></dt><dd>Grant for a user assigned to an issue</dd>
         <dt><b>userCustomField</b> (custom field id)</dt><dd>Grant for a user selected in the specified custom field</dd>
         <dt><b>groupCustomField</b> (custom field id)</dt><dd>Grant for a user selected in the specified custom field</dd>
     </dl>
 </p>

 <p>
     There are also two "hidden" holder types, which are not available in on-demand but can be used in enterprise instances:

     <dl>
         <dt><b>reporterWithCreatePermission</b></dt><dd>This type can be used only with BROWSE_PROJECTS permission to show only projects where the user has create permission and issues within that where they are the reporter.</dd>
         <dt><b>assigneeWithAssignablePermission</b></dt><dd>This type can be used only with BROWSE_PROJECTS permission to show only projects where the user has the assignable permission and issues within that where they are the assignee.</dd>
     </dl>
 </p>

 <p>
     In addition to specifying the permission holder, a permission must be selected. That way a pair of (holder, permission) is created
     and it represents a single permission grant.
 </p>

 <p>
     Custom permissions can be added by plugins, but below we present a set of built-in JIRA permissions.

     <ul>
         <li>ADMINISTER_PROJECTS</li>
         <li>BROWSE_PROJECTS</li>
         <li>VIEW_DEV_TOOLS</li>
         <li>VIEW_READONLY_WORKFLOW</li>
         <li>CREATE_ISSUES</li>
         <li>EDIT_ISSUES</li>
         <li>TRANSITION_ISSUES</li>
         <li>SCHEDULE_ISSUES</li>
         <li>MOVE_ISSUES</li>
         <li>ASSIGN_ISSUES</li>
         <li>ASSIGNABLE_USER</li>
         <li>RESOLVE_ISSUES</li>
         <li>CLOSE_ISSUES</li>
         <li>MODIFY_REPORTER</li>
         <li>DELETE_ISSUES</li>
         <li>LINK_ISSUES</li>
         <li>SET_ISSUE_SECURITY</li>
         <li>VIEW_VOTERS_AND_WATCHERS</li>
         <li>MANAGE_WATCHERS</li>
         <li>ADD_COMMENTS</li>
         <li>EDIT_ALL_COMMENTS</li>
         <li>EDIT_OWN_COMMENTS</li>
         <li>DELETE_ALL_COMMENTS</li>
         <li>DELETE_OWN_COMMENTS</li>
         <li>CREATE_ATTACHMENTS</li>
         <li>DELETE_ALL_ATTACHMENTS</li>
         <li>DELETE_OWN_ATTACHMENTS</li>
         <li>WORK_ON_ISSUES</li>
         <li>EDIT_OWN_WORKLOGS</li>
         <li>EDIT_ALL_WORKLOGS</li>
         <li>DELETE_OWN_WORKLOGS</li>
         <li>DELETE_ALL_WORKLOGS</li>
     </ul>

 </p>]]></ns2:doc><ns2:method
                id="createPermissionScheme"
                        name="POST"><ns2:doc><![CDATA[Create a new permission scheme.
 This method can create schemes with a defined permission set, or without.]]></ns2:doc><ns2:request><ns2:param
                        name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Example permission scheme","description":"description","permissions":[{"holder":{"type":"group","parameter":"jira-developers"},"permission":"ADMINISTER_PROJECTS"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-scheme#","title":"Permission Scheme","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:doc><![CDATA[a newly created scheme]]></ns2:doc><ns2:representation
                        element="permissionScheme"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/10000","name":"Example permission scheme","description":"description","permissions":[{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/permission/10000","holder":{"type":"group","parameter":"jira-developers","expand":"group"},"permission":"ADMINISTER_PROJECTS"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the scheme is created successfully.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-scheme#","title":"Permission Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a newly created scheme]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[a newly created scheme]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not allowed to create permission schemes.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="getPermissionSchemes"
                        name="GET"><ns2:doc><![CDATA[Returns a list of all permission schemes.
 <p>
 By default only shortened beans are returned. If you want to include permissions of all the schemes,
 then specify the <b>permissions</b> expand parameter. Permissions will be included also if you specify
 any other expand parameter.
 </p>]]></ns2:doc><ns2:request><ns2:param
                        name="expand" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a list of all permission schemes.]]></ns2:doc><ns2:representation
                        element="permissionSchemes"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"permissionSchemes":[{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/10000","name":"Example permission scheme","description":"description"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-schemes#","title":"Permission Schemes","type":"object","properties":{"permissionSchemes":{"type":"array","items":{"title":"Permission Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a list of all permission schemes.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[a list of all permission schemes.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not allowed to view permission schemes.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{schemeId}"><ns2:param name="schemeId"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getPermissionScheme"
                            name="GET"><ns2:doc><![CDATA[Returns a permission scheme identified by the given id.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a permission scheme.]]></ns2:doc><ns2:representation
                            element="permissionScheme"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/10000","name":"Example permission scheme","description":"description","permissions":[{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/permission/10000","holder":{"type":"group","parameter":"jira-developers","expand":"group"},"permission":"ADMINISTER_PROJECTS"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-scheme#","title":"Permission Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a permission scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a permission scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not allowed to view permission schemes.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a permission scheme.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the scheme doesn't exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deletePermissionScheme"
                        name="DELETE"><ns2:doc><![CDATA[Deletes a permission scheme identified by the given id.]]></ns2:doc><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="204"><ns2:representation
                        mediaType="application/json"><ns2:doc><![CDATA[Returned if the permission scheme is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:representation><ns2:doc><![CDATA[Returned if user is not allowed to delete permission schemes.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updatePermissionScheme"
                            name="PUT"><ns2:doc><![CDATA[Updates a permission scheme.
 <p>
 If the permissions list is present then it will be set in the permission scheme, which basically means it will overwrite any permission grants that
 existed in the permission scheme. Sending an empty list will remove all permission grants from the permission scheme.
 </p>
 <p>
 To update just the name and description, do not send permissions list at all.
 </p>
 <p>
 To add or remove a single permission grant instead of updating the whole list at once use the <b>{schemeId}/permission/</b> resource.
 </p>]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Example permission scheme","description":"description","permissions":[{"holder":{"type":"group","parameter":"jira-developers"},"permission":"ADMINISTER_PROJECTS"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-scheme#","title":"Permission Scheme","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[a newly updated scheme]]></ns2:doc><ns2:representation
                            element="permissionScheme"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/10000","name":"Example permission scheme","description":"description","permissions":[{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/permission/10000","holder":{"type":"group","parameter":"jira-developers","expand":"group"},"permission":"ADMINISTER_PROJECTS"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the scheme is updated successfully.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-scheme#","title":"Permission Scheme","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a newly updated scheme]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a newly updated scheme]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not allowed to edit permission schemes.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a newly updated scheme]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the permission is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{schemeId}/permission"><ns2:param
                    name="schemeId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getPermissionSchemeGrants"
                            name="GET"><ns2:doc><![CDATA[Returns all permission grants of the given permission scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a permission scheme entities list.]]></ns2:doc><ns2:representation
                            element="permissionGrants"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"permissions":[{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/permission/10000","holder":{"type":"group","parameter":"jira-developers","expand":"group"},"permission":"ADMINISTER_PROJECTS"}],"expand":"user,group,projectRole,field,all"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-grants#","title":"Permission Grants","type":"object","properties":{"permissions":{"type":"array","items":{"title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}},"expand":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a permission scheme entities list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a permission scheme entities list.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not allowed to view permission schemes.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="createPermissionGrant"
                            name="POST"><ns2:doc><![CDATA[Creates a permission grant in a permission scheme.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"holder":{"type":"group","parameter":"jira-developers"},"permission":"ADMINISTER_PROJECTS"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-grant#","title":"Permission Grant","type":"object","properties":{"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[a newly created permission]]></ns2:doc><ns2:representation
                            element="permissionGrant"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/permission/10000","holder":{"type":"group","parameter":"jira-developers","expand":"group"},"permission":"ADMINISTER_PROJECTS"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the scheme permission is created successfully.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-grant#","title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a newly created permission]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[a newly created permission]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not allowed to edit permission schemes.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{schemeId}/permission/{permissionId}"><ns2:param
                    name="permissionId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                    name="schemeId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="deletePermissionSchemeEntity"
                        name="DELETE"><ns2:doc><![CDATA[Deletes a permission grant from a permission scheme.]]></ns2:doc><ns2:response
                        status="401"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                            status="204"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation
                        mediaType="application/json"><ns2:doc><![CDATA[Returned if the permission grant is deleted successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[no content response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not allowed to edit permission schemes.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getPermissionSchemeGrant"
                            name="GET"><ns2:doc><![CDATA[Returns a permission grant identified by the given id.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the permission grant]]></ns2:doc><ns2:representation
                            element="permissionGrant"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/2/permissionscheme/permission/10000","holder":{"type":"group","parameter":"jira-developers","expand":"group"},"permission":"ADMINISTER_PROJECTS"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/permission-grant#","title":"Permission Grant","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"holder":{"title":"Permission Holder","type":"object","properties":{"type":{"type":"string"},"parameter":{"type":"string"},"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"field":{"title":"Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"custom":{"type":"boolean"},"orderable":{"type":"boolean"},"navigable":{"type":"boolean"},"searchable":{"type":"boolean"},"clauseNames":{"type":"array","items":{"type":"string"}},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false},"projectRole":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false},"permission":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the permission grant]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="403"><ns2:doc><![CDATA[the permission grant]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not allowed to view permission schemes.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/application-properties"><ns2:method
                id="getProperty"
                        name="GET"><ns2:doc><![CDATA[Returns an application property.]]></ns2:doc><ns2:request><ns2:param
                        name="key" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the property key]]></ns2:doc></ns2:param><ns2:param
                        name="permissionLevel" style="query"
                        type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when fetching a list specifies the permission level of all items in the list
                        see {@link com.atlassian.jira.bc.admin.ApplicationPropertiesService.EditPermissionLevel}]]></ns2:doc></ns2:param><ns2:param
                        name="keyFilter" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[when fetching a list allows the list to be filtered by the property's start of key
                        e.g. "jira.lf.*" whould fetch only those permissions that are editable and whose keys start with
                        "jira.lf.". This is a regex.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[an application property.]]></ns2:doc><ns2:representation
                        element="property"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"id":"jira.home","key":"jira.home","value":"/var/jira/jira-home","name":"jira.home","desc":"JIRA home directory","type":"string","defaultValue":""},{"id":"jira.clone.prefix","key":"jira.clone.prefix","value":"CLONE -","name":"The prefix added to the Summary field of cloned issues","type":"string","defaultValue":"CLONE -"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the property exists and the currently authenticated user has permission to view it. Contains a
 full representation of the property.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/property#","title":"Property","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"name":{"type":"string"},"desc":{"type":"string"},"type":{"type":"string"},"defaultValue":{"type":"string"},"example":{"type":"string"},"allowedValues":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[an application property.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the property does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="advanced-settings"><ns2:method
                    id="getAdvancedSettings"
                        name="GET"><ns2:doc><![CDATA[Returns the properties that are displayed on the "General Configuration > Advanced Settings" page.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[the properties that are displayed on the "General Configuration > Advanced Settings" page.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"id":"jira.home","key":"jira.home","value":"/var/jira/jira-home","name":"jira.home","desc":"JIRA home directory","type":"string","defaultValue":""},{"id":"jira.clone.prefix","key":"jira.clone.prefix","value":"CLONE -","name":"The prefix added to the Summary field of cloned issues","type":"string","defaultValue":"CLONE -"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns all properties to display in the "General Configuration > Advanced Settings" page.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-property#","title":"List of Property","type":"array","items":{"title":"Property","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"name":{"type":"string"},"desc":{"type":"string"},"type":{"type":"string"},"defaultValue":{"type":"string"},"example":{"type":"string"},"allowedValues":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the properties that are displayed on the "General Configuration > Advanced Settings" page.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[the properties that are displayed on the "General Configuration > Advanced Settings" page.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not an administrator.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="/{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="setPropertyViaRestfulTable"
                            name="PUT"><ns2:doc><![CDATA[Modify an application property via PUT. The "value" field present in the PUT will override the existing value.]]></ns2:doc><ns2:request><ns2:representation
                            element="applicationProperty"
                                    mediaType="*/*"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"jira.home","value":"/var/jira/jira-home"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/application-property#","title":"Application Property","type":"object","properties":{"id":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the property exists and the currently authenticated user has permission to edit it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/property#","title":"Property","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"name":{"type":"string"},"desc":{"type":"string"},"type":{"type":"string"},"defaultValue":{"type":"string"},"example":{"type":"string"},"allowedValues":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to edit the property.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the property does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/applicationrole"><ns2:doc><![CDATA[Provides REST access to JIRA's Application Roles.]]></ns2:doc><ns2:method
                id="getAll"
                    name="GET"><ns2:doc><![CDATA[Returns all ApplicationRoles in the system. Will also return an ETag header containing a version hash of the
 collection of ApplicationRoles.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[all ApplicationRoles in the system.]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"key":"jira-software","groups":["jira-software-users","jira-testers"],"name":"JIRA Software","defaultGroups":["jira-software-users"],"selectedByDefault":false,"defined":false,"numberOfSeats":10,"remainingSeats":5,"userCount":5,"userCountDescription":"5 developers","hasUnlimitedSeats":false,"platform":false},{"key":"jira-core","groups":["jira-core-users"],"name":"JIRA Core","defaultGroups":["jira-core-users"],"selectedByDefault":false,"defined":false,"numberOfSeats":1,"remainingSeats":1,"userCount":0,"userCountDescription":"0 users","hasUnlimitedSeats":false,"platform":true}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns all ApplicationRoles in the system]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-application-role#","title":"List of Application Role","type":"array","items":{"title":"Application Role","type":"object","properties":{"key":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"defaultGroups":{"type":"array","items":{"type":"string"}},"selectedByDefault":{"type":"boolean"},"defined":{"type":"boolean"},"numberOfSeats":{"type":"integer"},"remainingSeats":{"type":"integer"},"userCount":{"type":"integer"},"userCountDescription":{"type":"string"},"hasUnlimitedSeats":{"type":"boolean"},"platform":{"type":"boolean"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[all ApplicationRoles in the system.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[all ApplicationRoles in the system.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not an administrator.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="putBulk"
                        name="PUT"><ns2:doc><![CDATA[Updates the ApplicationRoles with the passed data if the version hash is the same as the server.
 Only the groups and default groups setting of the role may be updated. Requests to change the key
 or the name of the role will be silently ignored. It is acceptable to pass only the roles that are updated
 as roles that are present in the server but not in data to update with, will not be deleted.]]></ns2:doc><ns2:request><ns2:param
                        name="If-Match" style="header" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"jira-software","groups":["jira-software-users","jira-testers"],"name":"JIRA Software","defaultGroups":["jira-software-users"],"selectedByDefault":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-application-role#","title":"List of Application Role","type":"array","items":{"title":"Application Role","type":"object","properties":{"key":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"defaultGroups":{"type":"array","items":{"type":"string"}},"selectedByDefault":{"type":"boolean"},"defined":{"type":"boolean"},"numberOfSeats":{"type":"integer"},"remainingSeats":{"type":"integer"},"userCount":{"type":"integer"},"userCountDescription":{"type":"string"},"hasUnlimitedSeats":{"type":"boolean"},"platform":{"type":"boolean"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[the updated ApplicationRoles if the update was successful and the new version hash in an ETag header]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"key":"jira-software","groups":["jira-software-users","jira-testers"],"name":"JIRA Software","defaultGroups":["jira-software-users"],"selectedByDefault":false,"defined":false,"numberOfSeats":10,"remainingSeats":5,"userCount":5,"userCountDescription":"5 developers","hasUnlimitedSeats":false,"platform":false},{"key":"jira-core","groups":["jira-core-users"],"name":"JIRA Core","defaultGroups":["jira-core-users"],"selectedByDefault":false,"defined":false,"numberOfSeats":1,"remainingSeats":1,"userCount":0,"userCountDescription":"0 users","hasUnlimitedSeats":false,"platform":true}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the updated ApplicationRole if the update was successful.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-application-role#","title":"List of Application Role","type":"array","items":{"title":"Application Role","type":"object","properties":{"key":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"defaultGroups":{"type":"array","items":{"type":"string"}},"selectedByDefault":{"type":"boolean"},"defined":{"type":"boolean"},"numberOfSeats":{"type":"integer"},"remainingSeats":{"type":"integer"},"userCount":{"type":"integer"},"userCountDescription":{"type":"string"},"hasUnlimitedSeats":{"type":"boolean"},"platform":{"type":"boolean"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[the updated ApplicationRoles if the update was successful and the new version hash in an ETag header]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user does not have permission to edit roles.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="412"><ns2:doc><![CDATA[the updated ApplicationRoles if the update was successful and the new version hash in an ETag header]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the If-Match header is not null and contains a different version to the server.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[the updated ApplicationRoles if the update was successful and the new version hash in an ETag header]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not an administrator.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[the updated ApplicationRoles if the update was successful and the new version hash in an ETag header]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{key}"><ns2:param name="key" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the role to update.]]></ns2:doc></ns2:param><ns2:method
                    id="get"
                        name="GET"><ns2:doc><![CDATA[Returns the ApplicationRole with passed key if it exists.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[the ApplicationRole if it exists.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"jira-software","groups":["jira-software-users","jira-testers"],"name":"JIRA Software","defaultGroups":["jira-software-users"],"selectedByDefault":false,"defined":false,"numberOfSeats":10,"remainingSeats":5,"userCount":5,"userCountDescription":"5 developers","hasUnlimitedSeats":false,"platform":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the ApplicationRole if it exists.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/application-role#","title":"Application Role","type":"object","properties":{"key":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"defaultGroups":{"type":"array","items":{"type":"string"}},"selectedByDefault":{"type":"boolean"},"defined":{"type":"boolean"},"numberOfSeats":{"type":"integer"},"remainingSeats":{"type":"integer"},"userCount":{"type":"integer"},"userCountDescription":{"type":"string"},"hasUnlimitedSeats":{"type":"boolean"},"platform":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the ApplicationRole if it exists.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[the ApplicationRole if it exists.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not an administrator.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[the ApplicationRole if it exists.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="put"
                            name="PUT"><ns2:doc><![CDATA[Updates the ApplicationRole with the passed data. Only the groups and default groups setting of the
 role may be updated. Requests to change the key or the name of the role will be silently ignored.
 <p>
 Optional: If versionHash is passed through the If-Match header the request will be rejected if not the
 same as server]]></ns2:doc><ns2:request><ns2:param
                            name="If-Match" style="header"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the hash of the version to update. Optional Param]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"jira-software","groups":["jira-software-users","jira-testers"],"name":"JIRA Software","defaultGroups":["jira-software-users"],"selectedByDefault":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/application-role#","title":"Application Role","type":"object","properties":{"key":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"defaultGroups":{"type":"array","items":{"type":"string"}},"selectedByDefault":{"type":"boolean"},"defined":{"type":"boolean"},"numberOfSeats":{"type":"integer"},"remainingSeats":{"type":"integer"},"userCount":{"type":"integer"},"userCountDescription":{"type":"string"},"hasUnlimitedSeats":{"type":"boolean"},"platform":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[the updated ApplicationRole if the update was successful and a version hash if one was sent in the
 request.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"jira-software","groups":["jira-software-users","jira-testers"],"name":"JIRA Software","defaultGroups":["jira-software-users"],"selectedByDefault":false,"defined":false,"numberOfSeats":10,"remainingSeats":5,"userCount":5,"userCountDescription":"5 developers","hasUnlimitedSeats":false,"platform":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the updated ApplicationRole if the update was successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/application-role#","title":"Application Role","type":"object","properties":{"key":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"defaultGroups":{"type":"array","items":{"type":"string"}},"selectedByDefault":{"type":"boolean"},"defined":{"type":"boolean"},"numberOfSeats":{"type":"integer"},"remainingSeats":{"type":"integer"},"userCount":{"type":"integer"},"userCountDescription":{"type":"string"},"hasUnlimitedSeats":{"type":"boolean"},"platform":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[the updated ApplicationRole if the update was successful and a version hash if one was sent in the
 request.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user does not have permission to edit roles.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="412"><ns2:doc><![CDATA[the updated ApplicationRole if the update was successful and a version hash if one was sent in the
 request.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the If-Match header is not null and contains a different version to the server.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[the updated ApplicationRole if the update was successful and a version hash if one was sent in the
 request.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not an administrator.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[the updated ApplicationRole if the update was successful and a version hash if one was sent in the
 request.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the role does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/settings"><ns2:doc><![CDATA[REST resource for changing the JIRA system settings]]></ns2:doc><ns2:resource
                    path="baseUrl"><ns2:method id="setBaseURL"
                            name="PUT"><ns2:doc><![CDATA[Sets the base URL that is configured for this JIRA instance.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>http://jira.atlassian.com/</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/string#","title":"String","type":"string"}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request></ns2:method></ns2:resource><ns2:resource
                    path="columns"><ns2:method
                    id="getIssueNavigatorDefaultColumns"
                        name="GET"><ns2:doc><![CDATA[Returns the default system columns for issue navigator. Admin permission will be required.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation
                            element="columns"
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns a list of columns for configured for the given user]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-column-item#","title":"List of Column Item","type":"array","items":{"title":"Column Item","type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the column configuration.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have admin permission]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setIssueNavigatorDefaultColumns"
                            name="PUT"><ns2:doc><![CDATA[Sets the default system columns for issue navigator. Admin permission will be required.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/x-www-form-urlencoded"><ns2:param
                                name="columns" style="query"
                                type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[list of column ids]]></ns2:doc></ns2:param></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when the columns is saved successfully]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="500"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the column configuration.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/issue"><ns2:method id="createIssue"
                        name="POST"><ns2:doc><![CDATA[Creates an issue or a sub-task from a JSON representation.
 <p/>
 The fields that can be set on create, in either the fields parameter or the update parameter can be determined
 using the <b>/rest/api/2/issue/createmeta</b> resource.
 If a field is not configured to appear on the create screen, then it will not be in the createmeta, and a field
 validation error will occur if it is submitted.
 <p/>
 Creating a sub-task is similar to creating a regular issue, with two important differences:
 <ul>
 <li>the <code>issueType</code> field must correspond to a sub-task issue type (you can use
 <code>/issue/createmeta</code> to discover sub-task issue types), and</li>
 <li>you must provide a <code>parent</code> field in the issue create request containing the id or key of the
 parent issue.</li>
 </ul>]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"update":{"worklog":[{"add":{"timeSpent":"60m","started":"2011-07-05T11:05:00.000+0000"}}]},"fields":{"project":{"id":"10000"},"summary":"something's wrong","issuetype":{"id":"10000"},"assignee":{"name":"homer"},"reporter":{"name":"smithers"},"priority":{"id":"20000"},"labels":["bugfix","blitz_test"],"timetracking":{"originalEstimate":"10","remainingEstimate":"5"},"security":{"id":"10000"},"versions":[{"id":"10000"}],"environment":"environment","description":"description","duedate":"2011-03-11","fixVersions":[{"id":"10001"}],"components":[{"id":"10000"}],"customfield_30000":["10000","10002"],"customfield_80000":{"value":"red"},"customfield_20000":"06/Jul/11 3:25 PM","customfield_40000":"this is a text field","customfield_70000":["jira-administrators","jira-software-users"],"customfield_60000":"jira-software-users","customfield_50000":"this is a text area. big text.","customfield_10000":"09/Jun/81"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-update#","title":"Issue Update","type":"object","properties":{"transition":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"update":{"type":"object","patternProperties":{".+":{"type":"array","items":{"title":"Field Operation","type":"object"}}},"additionalProperties":false},"historyMetadata":{"title":"History Metadata","type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"descriptionKey":{"type":"string"},"activityDescription":{"type":"string"},"activityDescriptionKey":{"type":"string"},"emailDescription":{"type":"string"},"emailDescriptionKey":{"type":"string"},"actor":{"$ref":"#/definitions/history-metadata-participant"},"generator":{"$ref":"#/definitions/history-metadata-participant"},"cause":{"$ref":"#/definitions/history-metadata-participant"},"extraData":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"definitions":{"history-metadata-participant":{"title":"History Metadata Participant","type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"type":{"type":"string"},"avatarUrl":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:doc><![CDATA[an com.atlassian.jira.rest.api.issue.IssueCreateResponse]]></ns2:doc><ns2:representation
                        element="issue"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"10000","key":"TST-24","self":"http://www.example.com/jira/rest/api/2/issue/10000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a link to the created issue.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-create-response#","title":"Issue Create Response","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"self":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                                status="400"><ns2:doc><![CDATA[an com.atlassian.jira.rest.api.issue.IssueCreateResponse]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"errorMessages":["Field 'priority' is required"],"errors":{}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid field values, and so forth).]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{issueIdOrKey}/comment/{id}"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a string containing the issue id or key the comment belongs to]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of the comment to be deleted]]></ns2:doc></ns2:param><ns2:method
                    id="getComment"
                            name="GET"><ns2:doc><![CDATA[Returns a single comment.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[optional flags: renderedBody (provides body rendered in HTML)]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response containing a CommentJsonBean]]></ns2:doc><ns2:representation
                            element="comment"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issue/10010/comment/10000","id":"10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.356+0000","updated":"2016-03-16T04:22:37.356+0000","visibility":{"type":"role","value":"Administrators"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA comment in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/comments-with-pagination#","title":"Comments With Pagination","type":"object","properties":{"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"comments":{"type":"array","items":{"title":"Comment","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"author":{"$ref":"#/definitions/user"},"body":{"type":"string"},"renderedBody":{"type":"string"},"updateAuthor":{"$ref":"#/definitions/user"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"additionalProperties":false}}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a Response containing a CommentJsonBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested comment is not found, or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateComment"
                            name="PUT"><ns2:doc><![CDATA[Updates an existing comment using its JSON representation.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[optional flags: renderedBody (provides body rendered in HTML)]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","visibility":{"type":"role","value":"Administrators"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/comment#","title":"Comment","type":"object","properties":{"id":{"type":"string"},"author":{"$ref":"#/definitions/user"},"body":{"type":"string"},"renderedBody":{"type":"string"},"updateAuthor":{"$ref":"#/definitions/user"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"definitions":{"user":{"title":"User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[updated Comment]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issue/10010/comment/10000","id":"10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.356+0000","updated":"2016-03-16T04:22:37.356+0000","visibility":{"type":"role","value":"Administrators"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if update was successful]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/comment#","title":"Comment","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"author":{"$ref":"#/definitions/user"},"body":{"type":"string"},"renderedBody":{"type":"string"},"updateAuthor":{"$ref":"#/definitions/user"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[updated Comment]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteComment"
                        name="DELETE"><ns2:doc><![CDATA[Deletes an existing comment .]]></ns2:doc><ns2:response
                        status="400"><ns2:doc><![CDATA[No Content Response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="204"><ns2:doc><![CDATA[No Content Response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if delete was successful]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/comment"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a string containing the issue id or key the comment will be added to]]></ns2:doc></ns2:param><ns2:method
                    id="getComments"
                            name="GET"><ns2:doc><![CDATA[Returns all comments for an issue.
 <p>
 Results can be ordered by the "created" field which means the date a comment was added.
 </p>]]></ns2:doc><ns2:request><ns2:param
                            name="startAt" style="query" type="xs:long"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the page offset, if not specified then defaults to 0]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[how many results on the page should be included. Defaults to 50.]]></ns2:doc></ns2:param><ns2:param
                            name="orderBy" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[ordering of the results.]]></ns2:doc></ns2:param><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[optional flags: renderedBody (provides body rendered in HTML)]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[all comments for the issue]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"startAt":0,"maxResults":1,"total":1,"comments":[{"self":"http://www.example.com/jira/rest/api/2/issue/10010/comment/10000","id":"10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.356+0000","updated":"2016-03-16T04:22:37.356+0000","visibility":{"type":"role","value":"Administrators"}}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[returns a collection of comments associated with the issue, with count and pagination information.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/comments-with-pagination#","title":"Comments With Pagination","type":"object","properties":{"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"comments":{"type":"array","items":{"title":"Comment","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"author":{"$ref":"#/definitions/user"},"body":{"type":"string"},"renderedBody":{"type":"string"},"updateAuthor":{"$ref":"#/definitions/user"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"additionalProperties":false}}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[all comments for the issue]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue with the given id/key does not exist or if the currently authenticated user does not
 have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addComment"
                            name="POST"><ns2:doc><![CDATA[Adds a new comment to an issue.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[optional flags: renderedBody (provides body rendered in HTML)]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","visibility":{"type":"role","value":"Administrators"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/comment#","title":"Comment","type":"object","properties":{"id":{"type":"string"},"author":{"$ref":"#/definitions/user"},"body":{"type":"string"},"renderedBody":{"type":"string"},"updateAuthor":{"$ref":"#/definitions/user"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"definitions":{"user":{"title":"User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="201"><ns2:doc><![CDATA[the added comment]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issue/10010/comment/10000","id":"10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.356+0000","updated":"2016-03-16T04:22:37.356+0000","visibility":{"type":"role","value":"Administrators"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if add was successful]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/comment#","title":"Comment","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"author":{"$ref":"#/definitions/user"},"body":{"type":"string"},"renderedBody":{"type":"string"},"updateAuthor":{"$ref":"#/definitions/user"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="400"><ns2:doc><![CDATA[the added comment]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/assignee"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing an issue key]]></ns2:doc></ns2:param><ns2:method
                    id="assign"
                            name="PUT"><ns2:doc><![CDATA[Assigns an issue to a user.
 You can use this resource to assign issues when the user submitting the request has the assign permission but not the
 edit issue permission.
 If the name is "-1" automatic assignee is used.  A null name will remove the assignee.]]></ns2:doc><ns2:request><ns2:representation
                            element="user"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"harry"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/user#","title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}},"additionalProperties":false,"required":["active"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem with the received user representation.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to assign the issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue is successfully assigned.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the issue or the user does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/transitions"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue you want to transition]]></ns2:doc></ns2:param><ns2:method
                    id="getTransitions"
                            name="GET"><ns2:doc><![CDATA[Get a list of the transitions possible for this issue by the current user, along with fields that are required and their types.
 <p/>
 Fields will only be returned if <code>expand=transitions.fields</code>.
 <p/>
 The fields in the metadata correspond to the fields in the transition screen for that transition.
 Fields not in the screen will not be in the metadata.]]></ns2:doc><ns2:request><ns2:param
                            name="transitionId" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"/></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing a Map of TransitionFieldBeans for each transition possible by the current user.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"transitions","transitions":[{"id":"2","name":"Close Issue","to":{"self":"http://localhost:8090/jira/rest/api/2.0/status/10000","description":"The issue is currently being worked on.","iconUrl":"http://localhost:8090/jira/images/icons/progress.gif","name":"In Progress","id":"10000","statusCategory":{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/1","id":1,"key":"in-flight","colorName":"yellow","name":"In Progress"}},"fields":{"summary":{"required":false,"schema":{"type":"array","items":"option","custom":"com.atlassian.jira.plugin.system.customfieldtypes:multiselect","customId":10001},"name":"My Multi Select","hasDefaultValue":false,"operations":["set","add"],"allowedValues":["red","blue"]}}},{"id":"711","name":"QA Review","to":{"self":"http://localhost:8090/jira/rest/api/2.0/status/5","description":"The issue is closed.","iconUrl":"http://localhost:8090/jira/images/icons/closed.gif","name":"Closed","id":"5","statusCategory":{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/9","id":9,"key":"completed","colorName":"green"}},"fields":{"summary":{"required":false,"schema":{"type":"array","items":"option","custom":"com.atlassian.jira.plugin.system.customfieldtypes:multiselect","customId":10001},"name":"My Multi Select","hasDefaultValue":false,"operations":["set","add"],"allowedValues":["red","blue"]},"colour":{"required":false,"schema":{"type":"array","items":"option","custom":"com.atlassian.jira.plugin.system.customfieldtypes:multiselect","customId":10001},"name":"My Multi Select","hasDefaultValue":false,"operations":["set","add"],"allowedValues":["red","blue"]}}}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of the transitions possible for the specified issue and the fields required to perform the transition.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/transitions-meta#","title":"Transitions Meta","type":"object","properties":{"expand":{"type":"string"},"transitions":{"type":"array","items":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a response containing a Map of TransitionFieldBeans for each transition possible by the current user.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue is not found or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="doTransition"
                            name="POST"><ns2:doc><![CDATA[Perform a transition on an issue.
 When performing the transition you can update or set other issue fields.
 <p/>
 The fields that can be set on transtion, in either the fields parameter or the update parameter can be determined
 using the <b>/rest/api/2/issue/{issueIdOrKey}/transitions?expand=transitions.fields</b> resource.
 If a field is not configured to appear on the transition screen, then it will not be in the transition metadata, and a field
 validation error will occur if it is submitted.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"update":{"comment":[{"add":{"body":"Bug has been fixed."}}]},"fields":{"assignee":{"name":"bob"},"resolution":{"name":"Fixed"}},"transition":{"id":"5"},"historyMetadata":{"type":"myplugin:type","description":"text description","descriptionKey":"plugin.changereason.i18.key","activityDescription":"text description","activityDescriptionKey":"plugin.activity.i18.key","actor":{"id":"tony","displayName":"Tony","type":"mysystem-user","avatarUrl":"http://mysystem/avatar/tony.jpg","url":"http://mysystem/users/tony"},"generator":{"id":"mysystem-1","type":"mysystem-application"},"cause":{"id":"myevent","type":"mysystem-event"},"extraData":{"keyvalue":"extra data","goes":"here"}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-update#","title":"Issue Update","type":"object","properties":{"transition":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"update":{"type":"object","patternProperties":{".+":{"type":"array","items":{"title":"Field Operation","type":"object"}}},"additionalProperties":false},"historyMetadata":{"title":"History Metadata","type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"descriptionKey":{"type":"string"},"activityDescription":{"type":"string"},"activityDescriptionKey":{"type":"string"},"emailDescription":{"type":"string"},"emailDescriptionKey":{"type":"string"},"actor":{"$ref":"#/definitions/history-metadata-participant"},"generator":{"$ref":"#/definitions/history-metadata-participant"},"cause":{"$ref":"#/definitions/history-metadata-participant"},"extraData":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"definitions":{"history-metadata-participant":{"title":"History Metadata Participant","type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"type":{"type":"string"},"avatarUrl":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[If there is no transition specified.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[Returned if the transition was successful.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[The issue does not exist or the user does not have permission to view it]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="picker"><ns2:method
                    id="getIssuePickerResource"
                            name="GET"><ns2:doc><![CDATA[Returns suggested issues which match the auto-completion query for the user which executes this request. This REST
 method will check the user's history and the user's browsing context and select this issues, which match the query.]]></ns2:doc><ns2:request><ns2:param
                            name="query" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the query.]]></ns2:doc></ns2:param><ns2:param
                            name="currentJQL" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the JQL in context of which the request is executed. Only issues which match this JQL query will be included in results.]]></ns2:doc></ns2:param><ns2:param
                            name="currentIssueKey" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the issue in context of which the request is executed. The issue which is in context will not be included in the auto-completion result, even if it matches the query.]]></ns2:doc></ns2:param><ns2:param
                            name="currentProjectId" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the project in context of which the request is executed. Suggested issues will be only from this project.]]></ns2:doc></ns2:param><ns2:param
                            name="showSubTasks" style="query"
                            type="xs:boolean"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[if set to false, subtasks will not be included in the list.]]></ns2:doc></ns2:param><ns2:param
                            name="showSubTaskParent" style="query"
                            type="xs:boolean"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[if set to false and request is executed in context of a subtask, the parent issue will not be included in the auto-completion result, even if it matches the query.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:representation
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns a list of issues which match the picker parameters.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-picker-result#","title":"Issue Picker Result","type":"object","properties":{"sections":{"type":"array","items":{"title":"Issue Section","type":"object","properties":{"label":{"type":"string"},"sub":{"type":"string"},"id":{"type":"string"},"msg":{"type":"string"},"issues":{"type":"array","items":{"title":"Issue Picker Issue","type":"object","properties":{"key":{"type":"string"},"keyHtml":{"type":"string"},"img":{"type":"string"},"summary":{"type":"string"},"summaryText":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/votes"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue to view voting information for]]></ns2:doc></ns2:param><ns2:method
                    id="removeVote"
                        name="DELETE"><ns2:doc><![CDATA[Remove your vote from an issue. (i.e. "unvote")]]></ns2:doc><ns2:response
                        status="204"><ns2:doc><![CDATA[a Response containing either NO_CONTENT or an error message.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Nothing is returned on success.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a Response containing either NO_CONTENT or an error message.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user cannot remove a vote for any reason. (The user did not vote on the issue,
 the user is the reporter, voting is disabled, the issue does not exist, etc.)]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addVote"
                        name="POST"><ns2:doc><![CDATA[Cast your vote in favour of an issue.]]></ns2:doc><ns2:response
                        status="204"><ns2:doc><![CDATA[a Response containing NO_CONTENT or an error message]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Nothing is returned on success.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a Response containing NO_CONTENT or an error message]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user cannot vote for any reason. (The user is the reporter, the user does
 not have permission to vote, voting is disabled in the instance, the issue does not exist, etc.)]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getVotes"
                        name="GET"><ns2:doc><![CDATA[A REST sub-resource representing the voters on the issue.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response containing a VoteBean]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/issue/MKY-1/votes","votes":24,"hasVoted":true,"voters":[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Information about voting on the current issue.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/vote#","title":"Vote","type":"object","properties":{"self":{"type":"string","format":"uri"},"votes":{"type":"integer"},"hasVoted":{"type":"boolean"},"voters":{}},"additionalProperties":false,"required":["votes","hasVoted"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a Response containing a VoteBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user cannot view the issue in question or voting is disabled.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}"><ns2:param name="issueIdOrKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue id or key to update (i.e. JRA-1330)]]></ns2:doc></ns2:param><ns2:method
                    id="getIssue"
                            name="GET"><ns2:doc><![CDATA[Returns a full representation of the issue for the given issue key.
 <p>
 An issue JSON consists of the issue key, a collection of fields,
 a link to the workflow transition sub-resource, and (optionally) the HTML rendered values of any fields that support it
 (e.g. if wiki syntax is enabled for the description or comments).
 <p>
 The <code>fields</code> param (which can be specified multiple times) gives a comma-separated list of fields
 to include in the response. This can be used to retrieve a subset of fields.
 A particular field can be excluded by prefixing it with a minus.
 <p>
 By default, all (<code>*all</code>) fields are returned in this get-issue resource. Note: the default is different
 when doing a jql search -- the default there is just navigable fields (<code>*navigable</code>).
 <ul>
 <li><code>*all</code> - include all fields</li>
 <li><code>*navigable</code> - include just navigable fields</li>
 <li><code>summary,comment</code> - include just the summary and comments</li>
 <li><code>-comment</code> - include everything except comments (the default is <code>*all</code> for get-issue)</li>
 <li><code>*all,-comment</code> - include everything except comments</li>
 </ul>
 <p>
 The {@code properties} param is similar to {@code fields} and specifies a comma-separated list of issue
 properties to include. Unlike {@code fields}, properties are not included by default. To include them all
 send {@code ?properties=*all}. You can also include only specified properties or exclude some properties
 with a minus (-) sign.
 <p>
 <ul>
 <li>{@code *all} - include all properties</li>
 <li>{@code *all, -prop1} - include all properties except {@code prop1} </li>
 <li>{@code prop1, prop1} - include {@code prop1} and {@code prop2} properties </li>
 </ul>
 </p>
 <p/>
 JIRA will attempt to identify the issue by the <code>issueIdOrKey</code> path parameter. This can be an issue id,
 or an issue key. If the issue cannot be found via an exact match, JIRA will also look for the issue in a case-insensitive way, or
 by looking to see if the issue was moved. In either of these cases, the request will proceed as normal (a 302 or other redirect
 will <b>not</b> be returned). The issue key contained in the response will indicate the current value of issue's key.
 <p/>
 The <code>expand</code> param is used to include, hidden by default, parts of response. This can be used to include:
 <ul>
 <li><code>renderedFields</code> - field values in HTML format</li>
 <li><code>names</code> - display name of each field</li>
 <li><code>schema</code> - schema for each field which describes a type of the field</li>
 <li><code>transitions</code> - all possible transitions for the given issue</li>
 <li><code>operations</code> - all possibles operations which may be applied on issue</li>
 <li><code>editmeta</code> - information about how each field may be edited. It contains field's schema as well.</li>
 <li><code>changelog</code> - history of all changes of the given issue</li>
 <li><code>versionedRepresentations</code> -
 REST representations of all fields. Some field may contain more recent versions. RESET representations are numbered.
 The greatest number always represents the most recent version. It is recommended that the most recent version is used.
 version for these fields which provide a more recent REST representation.
 After including <code>versionedRepresentations</code> "fields" field become hidden.</li>
 </ul>]]></ns2:doc><ns2:request><ns2:param
                            name="fields" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the list of fields to return for the issue. By default, all fields are returned.]]></ns2:doc></ns2:param><ns2:param
                            name="expand" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                            name="properties" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the list of properties to return for the issue. By default no properties are returned.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response containing a IssueBean]]></ns2:doc><ns2:representation
                            element="issue"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"renderedFields,names,schema,transitions,operations,editmeta,changelog,versionedRepresentations","id":"10002","self":"http://www.example.com/jira/rest/api/2/issue/10002","key":"EX-1","fields":{"watcher":{"self":"http://www.example.com/jira/rest/api/2/issue/EX-1/watchers","isWatching":false,"watchCount":1,"watchers":[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false}]},"attachment":[{"self":"http://www.example.com/jira/rest/api/2.0/attachments/10000","filename":"picture.jpg","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.461+0000","size":23123,"mimeType":"image/jpeg","content":"http://www.example.com/jira/attachments/10000","thumbnail":"http://www.example.com/jira/secure/thumbnail/10000"}],"sub-tasks":[{"id":"10000","type":{"id":"10000","name":"","inward":"Parent","outward":"Sub-task"},"outwardIssue":{"id":"10003","key":"EX-2","self":"http://www.example.com/jira/rest/api/2/issue/EX-2","fields":{"status":{"iconUrl":"http://www.example.com/jira//images/icons/statuses/open.png","name":"Open"}}}}],"description":"example bug report","project":{"self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","name":"Example","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}},"comment":[{"self":"http://www.example.com/jira/rest/api/2/issue/10010/comment/10000","id":"10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.356+0000","updated":"2016-03-16T04:22:37.356+0000","visibility":{"type":"role","value":"Administrators"}}],"issuelinks":[{"id":"10001","type":{"id":"10000","name":"Dependent","inward":"depends on","outward":"is depended by"},"outwardIssue":{"id":"10004L","key":"PRJ-2","self":"http://www.example.com/jira/rest/api/2/issue/PRJ-2","fields":{"status":{"iconUrl":"http://www.example.com/jira//images/icons/statuses/open.png","name":"Open"}}}},{"id":"10002","type":{"id":"10000","name":"Dependent","inward":"depends on","outward":"is depended by"},"inwardIssue":{"id":"10004","key":"PRJ-3","self":"http://www.example.com/jira/rest/api/2/issue/PRJ-3","fields":{"status":{"iconUrl":"http://www.example.com/jira//images/icons/statuses/open.png","name":"Open"}}}}],"worklog":[{"self":"http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"comment":"I did some work here.","updated":"2016-03-16T04:22:37.471+0000","visibility":{"type":"group","value":"jira-developers"},"started":"2016-03-16T04:22:37.471+0000","timeSpent":"3h 20m","timeSpentSeconds":12000,"id":"100028","issueId":"10002"}],"updated":1,"timetracking":{"originalEstimate":"10m","remainingEstimate":"3m","timeSpent":"6m","originalEstimateSeconds":600,"remainingEstimateSeconds":200,"timeSpentSeconds":400}},"names":{"watcher":"watcher","attachment":"attachment","sub-tasks":"sub-tasks","description":"description","project":"project","comment":"comment","issuelinks":"issuelinks","worklog":"worklog","updated":"updated","timetracking":"timetracking"},"schema":{}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA issue in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue#","title":"Issue","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"string"},"self":{"type":"string","format":"uri"},"key":{"type":"string"},"fields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"renderedFields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"properties":{"title":"Properties","type":"object","properties":{"properties":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"names":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"schema":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/json-type"}},"additionalProperties":false},"transitions":{"type":"array","items":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/field-meta"}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false}},"operations":{"title":"Opsbar","type":"object","properties":{"linkGroups":{"type":"array","items":{"$ref":"#/definitions/link-group"}}},"additionalProperties":false},"editmeta":{"title":"Edit Meta","type":"object","properties":{"fields":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/field-meta"}},"additionalProperties":false}},"additionalProperties":false},"changelog":{"title":"Changelog","type":"object","properties":{"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"histories":{"type":"array","items":{"title":"Change History","type":"object","properties":{"id":{"type":"string"},"author":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"created":{"type":"string"},"items":{"type":"array","items":{"title":"Change Item","type":"object","properties":{"field":{"type":"string"},"fieldtype":{"type":"string"},"from":{"type":"string"},"fromString":{"type":"string"},"to":{"type":"string"},"toString":{"type":"string"}},"additionalProperties":false}},"historyMetadata":{"title":"History Metadata","type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"descriptionKey":{"type":"string"},"activityDescription":{"type":"string"},"activityDescriptionKey":{"type":"string"},"emailDescription":{"type":"string"},"emailDescriptionKey":{"type":"string"},"actor":{"$ref":"#/definitions/history-metadata-participant"},"generator":{"$ref":"#/definitions/history-metadata-participant"},"cause":{"$ref":"#/definitions/history-metadata-participant"},"extraData":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}}},"additionalProperties":false},"versionedRepresentations":{"type":"object","patternProperties":{".+":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false}},"additionalProperties":false},"fieldsToInclude":{"title":"Included Fields","type":"object"}},"definitions":{"field-meta":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"$ref":"#/definitions/json-type"},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]},"history-metadata-participant":{"title":"History Metadata Participant","type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"type":{"type":"string"},"avatarUrl":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false},"json-type":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"link-group":{"title":"Link Group","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"header":{"$ref":"#/definitions/simple-link"},"weight":{"type":"integer"},"links":{"type":"array","items":{"$ref":"#/definitions/simple-link"}},"groups":{"type":"array","items":{"$ref":"#/definitions/link-group"}}},"additionalProperties":false},"simple-link":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a Response containing a IssueBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue is not found, or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteIssue"
                            name="DELETE"><ns2:doc><![CDATA[Delete an issue.
 <p/>
 If the issue has subtasks you must set the parameter deleteSubtasks=true to delete the issue.
 You cannot delete an issue without its subtasks also being deleted.]]></ns2:doc><ns2:request><ns2:param
                            name="deleteSubtasks" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String of true or false indicating that any subtasks should also be deleted.  If the
                       issue has no subtasks this parameter is ignored.  If the issue has subtasks and this parameter is missing or false,
                       then the issue will not be deleted and an error will be returned.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to delete the issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="editIssue"
                            name="PUT"><ns2:doc><![CDATA[Edits an issue from a JSON representation.
 <p/>
 The issue can either be updated by setting explicit the field value(s)
 or by using an operation to change the field value.
 <p/>
 The fields that can be updated, in either the fields parameter or the update parameter, can be determined
 using the <b>/rest/api/2/issue/{issueIdOrKey}/editmeta</b> resource.<br>
 If a field is not configured to appear on the edit screen, then it will not be in the editmeta, and a field
 validation error will occur if it is submitted.
 <p/>
 Specifying a "field_id": field_value in the "fields" is a shorthand for a "set" operation in the "update" section.<br>
 Field should appear either in "fields" or "update", not in both.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"update":{"summary":[{"set":"Bug in business logic"}],"components":[{"set":""}],"timetracking":[{"edit":{"originalEstimate":"1w 1d","remainingEstimate":"4d"}}],"labels":[{"add":"triaged"},{"remove":"blocker"}]},"fields":{"summary":"This is a shorthand for a set operation on the summary field","customfield_10010":1,"customfield_10000":"This is a shorthand for a set operation on a text custom field"},"historyMetadata":{"type":"myplugin:type","description":"text description","descriptionKey":"plugin.changereason.i18.key","activityDescription":"text description","activityDescriptionKey":"plugin.activity.i18.key","actor":{"id":"tony","displayName":"Tony","type":"mysystem-user","avatarUrl":"http://mysystem/avatar/tony.jpg","url":"http://mysystem/users/tony"},"generator":{"id":"mysystem-1","type":"mysystem-application"},"cause":{"id":"myevent","type":"mysystem-event"},"extraData":{"keyvalue":"extra data","goes":"here"}},"properties":[{"key":"key1","value":'properties' : 'can be set at issue create or update time'},{"key":"key2","value":'and' : 'there can be multiple properties'}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-update#","title":"Issue Update","type":"object","properties":{"transition":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"update":{"type":"object","patternProperties":{".+":{"type":"array","items":{"title":"Field Operation","type":"object"}}},"additionalProperties":false},"historyMetadata":{"title":"History Metadata","type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"descriptionKey":{"type":"string"},"activityDescription":{"type":"string"},"activityDescriptionKey":{"type":"string"},"emailDescription":{"type":"string"},"emailDescriptionKey":{"type":"string"},"actor":{"$ref":"#/definitions/history-metadata-participant"},"generator":{"$ref":"#/definitions/history-metadata-participant"},"cause":{"$ref":"#/definitions/history-metadata-participant"},"extraData":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"definitions":{"history-metadata-participant":{"title":"History Metadata Participant","type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"type":{"type":"string"},"avatarUrl":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue update failed.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="204"><ns2:representation><ns2:doc><![CDATA[Returned if it updated the issue successfully.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/watchers"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing an issue key.]]></ns2:doc></ns2:param><ns2:method
                    id="getIssueWatchers"
                        name="GET"><ns2:doc><![CDATA[Returns the list of watchers for the issue with the given key.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response containing a WatchersBean]]></ns2:doc><ns2:representation
                            element="watchers"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issue/EX-1/watchers","isWatching":false,"watchCount":1,"watchers":[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the list of watchers for an issue.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/watchers#","title":"Watchers","type":"object","properties":{"self":{"type":"string"},"isWatching":{"type":"boolean"},"watchCount":{"type":"integer"},"watchers":{"type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}}},"additionalProperties":false,"required":["watchCount"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a Response containing a WatchersBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue is not found, or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addWatcher"
                            name="POST"><ns2:doc><![CDATA[Adds a user to an issue's watcher list.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>"fred"</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/string#","title":"String","type":"string"}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem with the received user representation.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to add the watcher to the issue's list of watchers.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the watcher was added successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[nothing]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the issue or the user does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="removeWatcher"
                            name="DELETE"><ns2:doc><![CDATA[Removes a user from an issue's watcher list.]]></ns2:doc><ns2:request><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the name of the user to remove from the watcher list. Must not be null.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if a user name query parameter is not supplied.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to remove the watcher from the issue's list of
 watchers.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the watcher was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if either the issue does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="/bulk"><ns2:method id="createIssues"
                            name="POST"><ns2:doc><![CDATA[Creates issues or sub-tasks from a JSON representation.
 <p/>
 Creates many issues in one bulk operation.
 <p/>
 Creating a sub-task is similar to creating a regular issue. More details can be found in createIssue section:
 {@link IssueResource#createIssue(IssueUpdateBean)}}]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issueUpdates":[{"update":{"worklog":[{"add":{"timeSpent":"60m","started":"2011-07-05T11:05:00.000+0000"}}]},"fields":{"project":{"id":"10000"},"summary":"something's wrong","issuetype":{"id":"10000"},"assignee":{"name":"homer"},"reporter":{"name":"smithers"},"priority":{"id":"20000"},"labels":["bugfix","blitz_test"],"timetracking":{"originalEstimate":"10","remainingEstimate":"5"},"security":{"id":"10000"},"versions":[{"id":"10000"}],"environment":"environment","description":"description","duedate":"2011-03-11","fixVersions":[{"id":"10001"}],"components":[{"id":"10000"}],"customfield_30000":["10000","10002"],"customfield_80000":{"value":"red"},"customfield_20000":"06/Jul/11 3:25 PM","customfield_40000":"this is a text field","customfield_70000":["jira-administrators","jira-software-users"],"customfield_60000":"jira-software-users","customfield_50000":"this is a text area. big text.","customfield_10000":"09/Jun/81"}},{"update":{},"fields":{"project":{"id":"1000"},"summary":"something's very wrong","issuetype":{"id":"10000"},"assignee":{"name":"jerry"},"reporter":{"name":"kosecki"},"priority":{"id":"20000"},"labels":["new_release"],"timetracking":{"originalEstimate":"15","remainingEstimate":"5"},"security":{"id":"10000"},"versions":[{"id":"10000"}],"environment":"environment","description":"description","duedate":"2011-04-16","fixVersions":[{"id":"10001"}],"components":[{"id":"10000"}],"customfield_30000":["10000","10002"],"customfield_80000":{"value":"red"},"customfield_20000":"06/Jul/11 3:25 PM","customfield_40000":"this is a text field","customfield_70000":["jira-administrators","jira-software-users"],"customfield_60000":"jira-software-users","customfield_50000":"this is a text area. big text.","customfield_10000":"09/Jun/81"}}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issues-update#","title":"Issues Update","type":"object","properties":{"issueUpdates":{"type":"array","items":{"title":"Issue Update","type":"object","properties":{"transition":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"update":{"type":"object","patternProperties":{".+":{"type":"array","items":{"title":"Field Operation","type":"object"}}},"additionalProperties":false},"historyMetadata":{"title":"History Metadata","type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"descriptionKey":{"type":"string"},"activityDescription":{"type":"string"},"activityDescriptionKey":{"type":"string"},"emailDescription":{"type":"string"},"emailDescriptionKey":{"type":"string"},"actor":{"$ref":"#/definitions/history-metadata-participant"},"generator":{"$ref":"#/definitions/history-metadata-participant"},"cause":{"$ref":"#/definitions/history-metadata-participant"},"extraData":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"properties":{"type":"array","items":{"title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}}},"additionalProperties":false}}},"definitions":{"history-metadata-participant":{"title":"History Metadata Participant","type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"type":{"type":"string"},"avatarUrl":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[an com.atlassian.jira.rest.api.issue.IssueCreateResponse which encapsulates information about created issues and/or errors]]></ns2:doc><ns2:representation
                            element="issue"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"issues":[{"id":"10000","key":"TST-24","self":"http://www.example.com/jira/rest/api/2/issue/10000"},{"id":"10001","key":"TST-25","self":"http://www.example.com/jira/rest/api/2/issue/10001"}],"errors":[]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a link to the created issues.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/issue-create-response#","title":"Issue Create Response","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"self":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                                    status="400"><ns2:doc><![CDATA[an com.atlassian.jira.rest.api.issue.IssueCreateResponse which encapsulates information about created issues and/or errors]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"status":400,"elementErrors":{"errorMessages":["Field 'priority' is required"],"errors":{}},"failedElementNumber":3}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid field values, and so forth).]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/bulk-operation-error-result#","title":"Bulk Operation Error Result","type":"object","properties":{"status":{"type":"integer"},"elementErrors":{"title":"Error Collection","type":"object","properties":{"errorMessages":{"type":"array","items":{"type":"string"}},"errors":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"status":{"type":"integer"}},"additionalProperties":false},"failedElementNumber":{"type":"integer"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="createmeta"><ns2:method
                    id="getCreateIssueMeta"
                            name="GET"><ns2:doc><![CDATA[Returns the meta data for creating issues. This includes the available projects, issue types and fields,
 including field types and whether or not those fields are required.
 Projects will not be returned if the user does not have permission to create issues in that project.
 <p/>
 The fields in the createmeta correspond to the fields in the create screen for the project/issuetype.
 Fields not in the screen will not be in the createmeta.
 <p/>
 Fields will only be returned if <code>expand=projects.issuetypes.fields</code>.
 <p/>
 The results can be filtered by project and/or issue type, given by the query params.]]></ns2:doc><ns2:request><ns2:param
                            name="projectIds" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[combined with the projectKeys param, lists the projects with which to filter the results. If absent, all projects are returned.
                       This parameter can be specified multiple times, and/or be a comma-separated list.
                       Specifiying a project that does not exist (or that you cannot create issues in) is not an error, but it will not be in the results.]]></ns2:doc></ns2:param><ns2:param
                            name="projectKeys" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[combined with the projectIds param, lists the projects with which to filter the results. If null, all projects are returned.
                       This parameter can be specified multiple times, and/or be a comma-separated list.
                       Specifiying a project that does not exist (or that you cannot create issues in) is not an error, but it will not be in the results.]]></ns2:doc></ns2:param><ns2:param
                            name="issuetypeIds" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[combinded with issuetypeNames, lists the issue types with which to filter the results. If null, all issue types are returned.
                       This parameter can be specified multiple times, and/or be a comma-separated list.
                       Specifiying an issue type that does not exist is not an error.]]></ns2:doc></ns2:param><ns2:param
                            name="issuetypeNames" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[combinded with issuetypeIds, lists the issue types with which to filter the results. If null, all issue types are returned.
                       This parameter can be specified multiple times, but is NOT interpreted as a comma-separated list.
                       Specifiying an issue type that does not exist is not an error.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response containing a CreateMetaBean]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"projects","projects":[{"self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","name":"Example Project","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?pid=10000&amp;avatarId=10011","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000&amp;avatarId=10011","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000&amp;avatarId=10011","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000&amp;avatarId=10011"},"issuetypes":[{"self":"http://www.example.com/jira/rest/api/2/issueType/1","id":"1","description":"An error in the code","iconUrl":"http://www.example.com/jira/images/icons/issuetypes/bug.png","name":"Bug","subtask":false,"fields":{"issuetype":{"required":true,"name":"Issue Type","hasDefaultValue":false,"operations":["set"]}}}]}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the meta data for creating issues.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/create-meta#","title":"Create Meta","type":"object","properties":{"expand":{"type":"string"},"projects":{"type":"array","items":{"title":"Create Meta Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string"},"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"issuetypes":{"type":"array","items":{"title":"Create Meta Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"},"expand":{"type":"string"},"fields":{"type":"object","patternProperties":{".+":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]}},"additionalProperties":false}},"additionalProperties":false,"required":["subtask"]}}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[a Response containing a CreateMetaBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user does not have permission to view any of the requested projects.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/editmeta"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue whose edit meta data you want to view]]></ns2:doc></ns2:param><ns2:method
                    id="getEditIssueMeta"
                        name="GET"><ns2:doc><![CDATA[Returns the meta data for editing an issue.
 <p/>
 The fields in the editmeta correspond to the fields in the edit screen for the issue.
 Fields not in the screen will not be in the editmeta.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing a Map of FieldBeans for fields editable by the current user.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"fields":{"summary":{"required":false,"schema":{"type":"array","items":"option","custom":"com.atlassian.jira.plugin.system.customfieldtypes:multiselect","customId":10001},"name":"My Multi Select","hasDefaultValue":false,"operations":["set","add"],"allowedValues":["red","blue"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a response containing a Map of FieldBeans for fields editable by the current user.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/edit-meta#","title":"Edit Meta","type":"object","properties":{"fields":{"type":"object","patternProperties":{".+":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response containing a Map of FieldBeans for fields editable by the current user.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue is not found or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/remotelink"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue to create the remote issue link for]]></ns2:doc></ns2:param><ns2:method
                    id="getRemoteIssueLinks"
                            name="GET"><ns2:doc><![CDATA[A REST sub-resource representing the remote issue links on the issue.]]></ns2:doc><ns2:request><ns2:param
                            name="globalId" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The id of the remote issue link to be returned.  If null (not provided) all remote links for the
                     issue are returned.
                     <p>For a fullexplanation of Issue Link fields please refer to
                     <a href="https://developer.atlassian.com/display/JIRADEV/Fields+in+Remote+Issue+Links">https://developer.atlassian.com/display/JIRADEV/Fields+in+Remote+Issue+Links</a></p>]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[if no globalId is specified, a Response containing a List of RemoteIssueLinkBeans is returned. Otherwise, a
 Response containing a RemoteIssueLinkBean with the given globalId is returned.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"id":10000,"self":"http://www.example.com/jira/rest/api/issue/MKY-1/remotelink/10000","globalId":"system=http://www.mycompany.com/support&amp;id=1","application":{"type":"com.acme.tracker","name":"My Acme Tracker"},"relationship":"causes","object":{"url":"http://www.mycompany.com/support?id=1","title":"TSTSUP-111","summary":"Crazy customer support issue","icon":{"url16x16":"http://www.mycompany.com/support/ticket.png","title":"Support Ticket"},"status":{"resolved":true,"icon":{"url16x16":"http://www.mycompany.com/support/resolved.png","title":"Case Closed","link":"http://www.mycompany.com/support?id=1&amp;details=closed"}}}},{"id":10001,"self":"http://www.example.com/jira/rest/api/issue/MKY-1/remotelink/10001","globalId":"system=http://www.anothercompany.com/tester&amp;id=1234","application":{"type":"com.acme.tester","name":"My Acme Tester"},"relationship":"is tested by","object":{"url":"http://www.anothercompany.com/tester/testcase/1234","title":"Test Case #1234","summary":"Test that the submit button saves the thing","icon":{"url16x16":"http://www.anothercompany.com/tester/images/testcase.gif","title":"Test Case"},"status":{"resolved":false,"icon":{"url16x16":"http://www.anothercompany.com/tester/images/person/fred.gif","title":"Tested by Fred Jones","link":"http://www.anothercompany.com/tester/person?username=fred"}}}}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Information on the remote issue links for the current issue.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-remote-issue-link#","title":"List of Remote Issue Link","type":"array","items":{"title":"Remote Issue Link","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"globalId":{"type":"string"},"application":{"title":"Application","type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false},"relationship":{"type":"string"},"object":{"title":"Remote Object","type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"icon":{"$ref":"#/definitions/icon"},"status":{"title":"Status","type":"object","properties":{"resolved":{"type":"boolean"},"icon":{"$ref":"#/definitions/icon"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"definitions":{"icon":{"title":"Icon","type":"object","properties":{"url16x16":{"type":"string"},"title":{"type":"string"},"link":{"type":"string"}},"additionalProperties":false}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[if no globalId is specified, a Response containing a List of RemoteIssueLinkBeans is returned. Otherwise, a
 Response containing a RemoteIssueLinkBean with the given globalId is returned.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[if no globalId is specified, a Response containing a List of RemoteIssueLinkBeans is returned. Otherwise, a
 Response containing a RemoteIssueLinkBean with the given globalId is returned.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to view the remote issue links, or if issue linking is
 disabled.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[if no globalId is specified, a Response containing a List of RemoteIssueLinkBeans is returned. Otherwise, a
 Response containing a RemoteIssueLinkBean with the given globalId is returned.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue or remote issue link do not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="createOrUpdateRemoteIssueLink"
                            name="POST"><ns2:doc><![CDATA[Creates or updates a remote issue link from a JSON representation. If a globalId is provided and a remote issue link
 exists with that globalId, the remote issue link is updated. Otherwise, the remote issue link is created.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"globalId":"system=http://www.mycompany.com/support&amp;id=1","application":{"type":"com.acme.tracker","name":"My Acme Tracker"},"relationship":"causes","object":{"url":"http://www.mycompany.com/support?id=1","title":"TSTSUP-111","summary":"Crazy customer support issue","icon":{"url16x16":"http://www.mycompany.com/support/ticket.png","title":"Support Ticket"},"status":{"resolved":true,"icon":{"url16x16":"http://www.mycompany.com/support/resolved.png","title":"Case Closed","link":"http://www.mycompany.com/support?id=1&amp;details=closed"}}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/remote-issue-link-create-or-update-request#","title":"Remote Issue Link Create Or Update Request","type":"object","properties":{"globalId":{"type":"string"},"application":{"title":"Application","type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false},"relationship":{"type":"string"},"object":{"title":"Remote Object","type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"icon":{"$ref":"#/definitions/icon"},"status":{"title":"Status","type":"object","properties":{"resolved":{"type":"boolean"},"icon":{"$ref":"#/definitions/icon"}},"additionalProperties":false}},"additionalProperties":false}},"definitions":{"icon":{"title":"Icon","type":"object","properties":{"url16x16":{"type":"string"},"title":{"type":"string"},"link":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a RemoteIssueLinkCreateOrUpdateResponse]]></ns2:doc><ns2:representation
                            element="remote issue link"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/issue/MKY-1/remotelink/10000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a link to the created/updated remote issue link.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/remote-issue-link-create-or-update-response#","title":"Remote Issue Link Create Or Update Response","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                                    status="400"><ns2:doc><![CDATA[a RemoteIssueLinkCreateOrUpdateResponse]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"errorMessages":[],"errors":{"title":"'title' is required."}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a RemoteIssueLinkCreateOrUpdateResponse]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a RemoteIssueLinkCreateOrUpdateResponse]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to create/update the remote issue link, or if issue linking
 is disabled.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteRemoteIssueLinkByGlobalId"
                            name="DELETE"><ns2:doc><![CDATA[Delete the remote issue link with the given global id on the issue.]]></ns2:doc><ns2:request><ns2:param
                            name="globalId" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the global id of the remote issue link]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the remote issue link was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to delete the remote issue link, or if issue linking is
 disabled.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue or remote issue link do not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/remotelink/{linkId}"><ns2:param
                    name="linkId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of the remote issue link]]></ns2:doc></ns2:param><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue to create the remote issue link for]]></ns2:doc></ns2:param><ns2:method
                    id="getRemoteIssueLinkById"
                        name="GET"><ns2:doc><![CDATA[Get the remote issue link with the given id on the issue.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response containing a RemoteIssueLinkBean.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"self":"http://www.example.com/jira/rest/api/issue/MKY-1/remotelink/10000","globalId":"system=http://www.mycompany.com/support&amp;id=1","application":{"type":"com.acme.tracker","name":"My Acme Tracker"},"relationship":"causes","object":{"url":"http://www.mycompany.com/support?id=1","title":"TSTSUP-111","summary":"Crazy customer support issue","icon":{"url16x16":"http://www.mycompany.com/support/ticket.png","title":"Support Ticket"},"status":{"resolved":true,"icon":{"url16x16":"http://www.mycompany.com/support/resolved.png","title":"Case Closed","link":"http://www.mycompany.com/support?id=1&amp;details=closed"}}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Information on the remote issue link with the given id.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/remote-issue-link#","title":"Remote Issue Link","type":"object","properties":{"id":{"type":"integer"},"self":{"type":"string","format":"uri"},"globalId":{"type":"string"},"application":{"title":"Application","type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false},"relationship":{"type":"string"},"object":{"title":"Remote Object","type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"icon":{"$ref":"#/definitions/icon"},"status":{"title":"Status","type":"object","properties":{"resolved":{"type":"boolean"},"icon":{"$ref":"#/definitions/icon"}},"additionalProperties":false}},"additionalProperties":false}},"definitions":{"icon":{"title":"Icon","type":"object","properties":{"url16x16":{"type":"string"},"title":{"type":"string"},"link":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a Response containing a RemoteIssueLinkBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the linkId is not a valid number, or if the remote issue link with the given id does not belong to
 the given issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a Response containing a RemoteIssueLinkBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a Response containing a RemoteIssueLinkBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to view the remote issue link, or if issue linking is
 disabled.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a Response containing a RemoteIssueLinkBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue or remote issue link do not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateRemoteIssueLink"
                            name="PUT"><ns2:doc><![CDATA[Updates a remote issue link from a JSON representation. Any fields not provided are set to null.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"globalId":"system=http://www.mycompany.com/support&amp;id=1","application":{"type":"com.acme.tracker","name":"My Acme Tracker"},"relationship":"causes","object":{"url":"http://www.mycompany.com/support?id=1","title":"TSTSUP-111","summary":"Crazy customer support issue","icon":{"url16x16":"http://www.mycompany.com/support/ticket.png","title":"Support Ticket"},"status":{"resolved":true,"icon":{"url16x16":"http://www.mycompany.com/support/resolved.png","title":"Case Closed","link":"http://www.mycompany.com/support?id=1&amp;details=closed"}}}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/remote-issue-link-create-or-update-request#","title":"Remote Issue Link Create Or Update Request","type":"object","properties":{"globalId":{"type":"string"},"application":{"title":"Application","type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false},"relationship":{"type":"string"},"object":{"title":"Remote Object","type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"icon":{"$ref":"#/definitions/icon"},"status":{"title":"Status","type":"object","properties":{"resolved":{"type":"boolean"},"icon":{"$ref":"#/definitions/icon"}},"additionalProperties":false}},"additionalProperties":false}},"definitions":{"icon":{"title":"Icon","type":"object","properties":{"url16x16":{"type":"string"},"title":{"type":"string"},"link":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="400"><ns2:doc><![CDATA[a Response containing either NO_CONTENT or an error message.]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"errorMessages":[],"errors":{"title":"'title' is required."}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a Response containing either NO_CONTENT or an error message.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a Response containing either NO_CONTENT or an error message.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the remote issue link was updated successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a Response containing either NO_CONTENT or an error message.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to update the remote issue link, or if issue linking is
 disabled.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteRemoteIssueLinkById"
                        name="DELETE"><ns2:doc><![CDATA[Delete the remote issue link with the given id on the issue.]]></ns2:doc><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the remote issue link was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to delete the remote issue link, or if issue linking is
 disabled.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well, otherwise the Response contains the error details]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue or remote issue link do not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/worklog"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a string containing the issue id or key the worklog will be added to]]></ns2:doc></ns2:param><ns2:method
                    id="getIssueWorklog"
                        name="GET"><ns2:doc><![CDATA[Returns all work logs for an issue.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[All worklogs for the issue]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"startAt":0,"maxResults":1,"total":1,"worklogs":[{"self":"http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"comment":"I did some work here.","updated":"2016-03-16T04:22:37.471+0000","visibility":{"type":"group","value":"jira-developers"},"started":"2016-03-16T04:22:37.471+0000","timeSpent":"3h 20m","timeSpentSeconds":12000,"id":"100028","issueId":"10002"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[returns a collection of worklogs associated with the issue, with count and pagination information.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog-with-pagination#","title":"Worklog With Pagination","type":"object","properties":{"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"worklogs":{"type":"array","items":{"title":"Worklog","type":"object","properties":{"self":{"type":"string","format":"uri"},"author":{"$ref":"#/definitions/user"},"updateAuthor":{"$ref":"#/definitions/user"},"comment":{"type":"string"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"started":{"type":"string"},"timeSpent":{"type":"string"},"timeSpentSeconds":{"type":"integer"},"id":{"type":"string"},"issueId":{"type":"string"}},"additionalProperties":false}}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[All worklogs for the issue]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue with the given id/key does not exist or if the currently authenticated user does not
 have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addWorklog"
                            name="POST"><ns2:doc><![CDATA[Adds a new worklog entry to an issue.]]></ns2:doc><ns2:request><ns2:param
                            name="adjustEstimate" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(optional) allows you to provide specific instructions to update the remaining time estimate of the issue.  Valid values are
                       <ul>
                       <li>"new" - sets the estimate to a specific value</li>
                       <li>"leave"- leaves the estimate as is</li>
                       <li>"manual" - specify a specific amount to increase remaining estimate by</li>
                       <li>"auto"- Default option.  Will automatically adjust the value based on the new timeSpent specified on the worklog</li> </ul>]]></ns2:doc></ns2:param><ns2:param
                            name="newEstimate" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(required when "new" is selected for adjustEstimate) the new value for the remaining estimate field. e.g. "2d"]]></ns2:doc></ns2:param><ns2:param
                            name="reduceBy" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(required when "manual" is selected for adjustEstimate) the amount to reduce the remaining estimate by e.g. "2d"]]></ns2:doc></ns2:param><ns2:representation
                            element="worklog"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"comment":"I did some work here.","visibility":{"type":"group","value":"jira-developers"},"started":"2016-03-16T04:22:37.471+0000","timeSpentSeconds":12000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog#","title":"Worklog","type":"object","properties":{"author":{"$ref":"#/definitions/user"},"updateAuthor":{"$ref":"#/definitions/user"},"comment":{"type":"string"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"started":{"type":"string"},"timeSpent":{"type":"string"},"timeSpentSeconds":{"type":"integer"},"id":{"type":"string"},"issueId":{"type":"string"}},"definitions":{"user":{"title":"User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="201"><ns2:doc><![CDATA[the added worklog]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if add was successful]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog#","title":"Worklog","type":"object","properties":{"self":{"type":"string","format":"uri"},"author":{"$ref":"#/definitions/user"},"updateAuthor":{"$ref":"#/definitions/user"},"comment":{"type":"string"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"started":{"type":"string"},"timeSpent":{"type":"string"},"timeSpentSeconds":{"type":"integer"},"id":{"type":"string"},"issueId":{"type":"string"}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[the added worklog]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[the added worklog]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to add the worklog]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/worklog/{id}"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a string containing the issue id or key the worklog belongs to]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of the worklog to be deleted]]></ns2:doc></ns2:param><ns2:method
                    id="getWorklog"
                        name="GET"><ns2:doc><![CDATA[Returns a specific worklog.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a worklog]]></ns2:doc><ns2:representation
                            element="worklog"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"comment":"I did some work here.","updated":"2016-03-16T04:22:37.471+0000","visibility":{"type":"group","value":"jira-developers"},"started":"2016-03-16T04:22:37.471+0000","timeSpent":"3h 20m","timeSpentSeconds":12000,"id":"100028","issueId":"10002"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the work log with the given id exists and the currently authenticated user has permission to
 view it. The returned response contains a full representation of the work log in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog#","title":"Worklog","type":"object","properties":{"self":{"type":"string","format":"uri"},"author":{"$ref":"#/definitions/user"},"updateAuthor":{"$ref":"#/definitions/user"},"comment":{"type":"string"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"started":{"type":"string"},"timeSpent":{"type":"string"},"timeSpentSeconds":{"type":"integer"},"id":{"type":"string"},"issueId":{"type":"string"}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a worklog]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the work log with the given id does not exist or if the currently authenticated user does not
 have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateWorklog"
                            name="PUT"><ns2:doc><![CDATA[Updates an existing worklog entry.
 <p>Note that:</p>
  <ul>
      <li>Fields possible for editing are: comment, visibility, started, timeSpent and timeSpentSeconds.</li>
      <li>Either timeSpent or timeSpentSeconds can be set.</li>
      <li>Fields which are not set will not be updated.</li>
      <li>For a request to be valid, it has to have at least one field change.</li>
  </ul>]]></ns2:doc><ns2:request><ns2:param
                            name="adjustEstimate" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(optional) allows you to provide specific instructions to update the remaining time estimate of the issue.  Valid values are
                       <ul>
                       <li>"new" - sets the estimate to a specific value</li>
                       <li>"leave"- leaves the estimate as is</li>
                       <li>"auto"- Default option.  Will automatically adjust the value based on the new timeSpent specified on the worklog</li> </ul>]]></ns2:doc></ns2:param><ns2:param
                            name="newEstimate" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(required when "new" is selected for adjustEstimate) the new value for the remaining estimate field.]]></ns2:doc></ns2:param><ns2:representation
                            element="worklog"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"comment":"I did some work here.","visibility":{"type":"group","value":"jira-developers"},"started":"2016-03-16T04:22:37.471+0000","timeSpentSeconds":12000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog#","title":"Worklog","type":"object","properties":{"author":{"$ref":"#/definitions/user"},"updateAuthor":{"$ref":"#/definitions/user"},"comment":{"type":"string"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"started":{"type":"string"},"timeSpent":{"type":"string"},"timeSpentSeconds":{"type":"integer"},"id":{"type":"string"},"issueId":{"type":"string"}},"definitions":{"user":{"title":"User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[updated worklog]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"comment":"I did some work here.","updated":"2016-03-16T04:22:37.471+0000","visibility":{"type":"group","value":"jira-developers"},"started":"2016-03-16T04:22:37.471+0000","timeSpent":"3h 20m","timeSpentSeconds":12000,"id":"100028","issueId":"10002"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if update was successful]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog#","title":"Worklog","type":"object","properties":{"self":{"type":"string","format":"uri"},"author":{"$ref":"#/definitions/user"},"updateAuthor":{"$ref":"#/definitions/user"},"comment":{"type":"string"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"started":{"type":"string"},"timeSpent":{"type":"string"},"timeSpentSeconds":{"type":"integer"},"id":{"type":"string"},"issueId":{"type":"string"}},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[updated worklog]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[updated worklog]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to update the worklog]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteWorklog"
                            name="DELETE"><ns2:doc><![CDATA[Deletes an existing worklog entry .]]></ns2:doc><ns2:request><ns2:param
                            name="adjustEstimate" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(optional) allows you to provide specific instructions to update the remaining time estimate of the issue.  Valid values are
                       <ul>
                       <li>"new" - sets the estimate to a specific value</li>
                       <li>"leave"- leaves the estimate as is</li>
                       <li>"manual" - specify a specific amount to increase remaining estimate by</li>
                       <li>"auto"- Default option.  Will automatically adjust the value based on the new timeSpent specified on the worklog</li> </ul>]]></ns2:doc></ns2:param><ns2:param
                            name="newEstimate" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(required when "new" is selected for adjustEstimate) the new value for the remaining estimate field. e.g. "2d"]]></ns2:doc></ns2:param><ns2:param
                            name="increaseBy" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(required when "manual" is selected for adjustEstimate) the amount to increase the remaining estimate by e.g. "2d"]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[No Content Response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[No Content Response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if delete was successful]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[No Content Response]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to delete the worklog]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{issueIdOrKey}/notify"><ns2:param
                    name="issueIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a string containing the issue id or key the comment will be added to]]></ns2:doc></ns2:param><ns2:method
                    id="notify"
                            name="POST"><ns2:doc><![CDATA[Sends a notification (email) to the list or recipients defined in the request.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"subject":"Duis eu justo eget augue iaculis fermentum.","textBody":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","htmlBody":"Lorem ipsum &lt;strong&gt;dolor&lt;/strong&gt; sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.","to":{"reporter":false,"assignee":false,"watchers":true,"voters":true,"users":[{"name":"fred","active":false}],"groups":[{"name":"notification-group","self":"http://www.example.com/jira/rest/api/2/group?groupname=notification-group"}]},"restrict":{"groups":[{"name":"notification-group","self":"http://www.example.com/jira/rest/api/2/group?groupname=notification-group"}],"permissions":[{"id":"10","key":"BROWSE"}]}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/notification#","title":"Notification","type":"object","properties":{"subject":{"type":"string"},"textBody":{"type":"string"},"htmlBody":{"type":"string"},"to":{"title":"To","type":"object","properties":{"reporter":{"type":"boolean"},"assignee":{"type":"boolean"},"watchers":{"type":"boolean"},"voters":{"type":"boolean"},"users":{"type":"array","items":{"title":"User","type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"groups":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["reporter","assignee","watchers","voters"]},"restrict":{"title":"Restrict","type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/definitions/group"}},"permissions":{"type":"array","items":{"title":"Permission","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="400"><ns2:doc><![CDATA[<empty>]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[<empty>]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if adding to the mail queue was successful]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="403"><ns2:doc><![CDATA[<empty>]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned is outgoing emails are disabled OR no SMTP server is defined.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/worklog"><ns2:resource
                    path="updated"><ns2:method
                    id="getIdsOfWorklogsModifiedSince"
                            name="GET"><ns2:doc><![CDATA[Returns worklogs id and update time of worklogs that was updated since given time.
 The returns set of worklogs is limited to 1000 elements.
 This API will not return worklogs updated during last minute.]]></ns2:doc><ns2:request><ns2:param
                            name="since" style="query" type="xs:long"
                            default="0"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a date time in unix timestamp format since when updated worklogs will be returned.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a set of worklogs id and update time.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"values":[{"worklogId":103,"updatedTime":1438013671562},{"worklogId":104,"updatedTime":1438013672165},{"worklogId":105,"updatedTime":1438013693136}],"since":1438013671562,"until":1438013693136,"self":"http://www.example.com/jira/worklog/updated?since=1438013671136","nextPage":"http://www.example.com/jira/worklog/updated/updated?since=1438013671136&amp;since=1438013693136","lastPage":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of the worklog changes.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog-changed-since#","title":"Worklog Changed Since","type":"object","properties":{"values":{"type":"array","items":{"title":"Worklog Change","type":"object","properties":{"worklogId":{"type":"integer"},"updatedTime":{"type":"integer"}},"additionalProperties":false}},"since":{"type":"integer"},"until":{"type":"integer"},"isLastPage":{"type":"boolean"},"self":{"type":"string","format":"uri"},"nextPage":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["isLastPage"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="deleted"><ns2:method
                    id="getIdsOfWorklogsDeletedSince"
                            name="GET"><ns2:doc><![CDATA[Returns worklogs id and delete time of worklogs that was deleted since given time.
 The returns set of worklogs is limited to 1000 elements.
 This API will not return worklogs deleted during last minute.]]></ns2:doc><ns2:request><ns2:param
                            name="since" style="query" type="xs:long"
                            default="0"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a date time in unix timestamp format since when deleted worklogs will be returned.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a set of worklogs id and delete time.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"values":[{"worklogId":103,"updatedTime":1438013671562},{"worklogId":104,"updatedTime":1438013672165},{"worklogId":105,"updatedTime":1438013693136}],"since":1438013671562,"until":1438013693136,"self":"http://www.example.com/jira/worklog/updated/updated/deleted?since=1438013671136&amp;since=1438013693136&amp;since=1438013671136","nextPage":"http://www.example.com/jira/worklog/updated/updated/deleted/deleted?since=1438013671136&amp;since=1438013693136&amp;since=1438013671136&amp;since=1438013693136","lastPage":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of the worklog changes.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog-changed-since#","title":"Worklog Changed Since","type":"object","properties":{"values":{"type":"array","items":{"title":"Worklog Change","type":"object","properties":{"worklogId":{"type":"integer"},"updatedTime":{"type":"integer"}},"additionalProperties":false}},"since":{"type":"integer"},"until":{"type":"integer"},"isLastPage":{"type":"boolean"},"self":{"type":"string","format":"uri"},"nextPage":{"type":"string","format":"uri"}},"additionalProperties":false,"required":["isLastPage"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="list"><ns2:method id="getWorklogsForIds"
                            name="POST"><ns2:doc><![CDATA[Returns worklogs for given worklog ids. Only worklogs to which the calling user has permissions, will be included in the result.
 The returns set of worklogs is limited to 1000 elements.]]></ns2:doc><ns2:request><ns2:representation
                            element="worklogIdsRequest"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"ids":[1,2,5,10]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/worklog-ids-request#","title":"Worklog Ids Request","type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a set of worklogs for given ids.]]></ns2:doc><ns2:representation
                            element="worklogs"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"updateAuthor":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false},"comment":"I did some work here.","updated":"2016-03-16T04:22:37.471+0000","visibility":{"type":"group","value":"jira-developers"},"started":"2016-03-16T04:22:37.471+0000","timeSpent":"3h 20m","timeSpentSeconds":12000,"id":"100028","issueId":"10002"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of the search results.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-worklog#","title":"List of Worklog","type":"array","items":{"title":"Worklog","type":"object","properties":{"self":{"type":"string","format":"uri"},"author":{"$ref":"#/definitions/user"},"updateAuthor":{"$ref":"#/definitions/user"},"comment":{"type":"string"},"created":{"type":"string"},"updated":{"type":"string"},"visibility":{"title":"Visibility","type":"object","properties":{"type":{"type":"string","enum":["group","role"]},"value":{"type":"string"}},"additionalProperties":false},"started":{"type":"string"},"timeSpent":{"type":"string"},"timeSpentSeconds":{"type":"integer"},"id":{"type":"string"},"issueId":{"type":"string"}},"additionalProperties":false},"definitions":{"user":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="400"><ns2:doc><![CDATA[a set of worklogs for given ids.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request contains more than 1000 ids or is null]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/component"><ns2:method id="createComponent"
                        name="POST"><ns2:doc><![CDATA[Create a component via POST.]]></ns2:doc><ns2:request><ns2:representation
                        element="component"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Component 1","description":"This is a JIRA component","leadUserName":"fred","assigneeType":"PROJECT_LEAD","isAssigneeTypeValid":false,"project":"PROJECTKEY","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/component#","title":"Component","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/component/10000","id":"10000","name":"Component 1","description":"This is a JIRA component","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"assigneeType":"PROJECT_LEAD","assignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"realAssigneeType":"PROJECT_LEAD","realAssignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"isAssigneeTypeValid":false,"project":"HSP","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the component is created successfully.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/component#","title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the caller is not logged in and does not have permission to create components in
 the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the caller is authenticated and does not have permission to create components in the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the project does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The component to delete.]]></ns2:doc></ns2:param><ns2:method
                    id="getComponent"
                        name="GET"><ns2:doc><![CDATA[Returns a project component.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing a JSOn representation of a project component, or a 404 NOT FOUND if there is no
 component with the given id or the calling user does not have permission to view it.]]></ns2:doc><ns2:representation
                            element="component"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/component/10000","id":"10000","name":"Component 1","description":"This is a JIRA component","lead":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"assigneeType":"PROJECT_LEAD","assignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"realAssigneeType":"PROJECT_LEAD","realAssignee":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"isAssigneeTypeValid":false,"project":"HSP","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full JSON representation of a project component.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/component#","title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a response containing a JSOn representation of a project component, or a 404 NOT FOUND if there is no
 component with the given id or the calling user does not have permission to view it.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no component with the given key, or if the calling user does not have permission to
 view the component.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateComponent"
                            name="PUT"><ns2:doc><![CDATA[Modify a component via PUT. Any fields present in the PUT will override existing values. As a convenience, if a field
 is not present, it is silently ignored.
 <p>
 If leadUserName is an empty string ("") the component lead will be removed.]]></ns2:doc><ns2:request><ns2:representation
                            element="component"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"Component 1","description":"This is a JIRA component","leadUserName":"fred","assigneeType":"PROJECT_LEAD","isAssigneeTypeValid":false,"project":"PROJECTKEY","projectId":10000}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/component#","title":"Component","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the component exists and the currently authenticated user has permission to edit it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/component#","title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to edit the component.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the component does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="delete"
                            name="DELETE"><ns2:doc><![CDATA[Delete a project component.]]></ns2:doc><ns2:request><ns2:param
                            name="moveIssuesTo" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The new component applied to issues whose 'id' component will be deleted.
                     If this value is null, then the 'id' component is simply removed from the related isues.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="204"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the component is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the currently authenticated user does not have permission to delete the component.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the component does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/relatedIssueCounts"><ns2:param name="id"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a String containing the component id]]></ns2:doc></ns2:param><ns2:method
                    id="getComponentRelatedIssues"
                        name="GET"><ns2:doc><![CDATA[Returns counts of issues related to this component.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[an issue counts bean]]></ns2:doc><ns2:representation
                            element="issue Count Bean"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/component/10000","issueCount":23}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the component exists and the currently authenticated user has permission to view it. Contains
 counts of issues related to this component.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/component-issue-counts#","title":"Component Issue Counts","type":"object","properties":{"self":{"type":"string","format":"uri"},"issueCount":{"type":"integer"}},"additionalProperties":false,"required":["issueCount"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[an issue counts bean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the component does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/status"><ns2:method id="getStatuses"
                    name="GET"><ns2:doc><![CDATA[Returns a list of all statuses]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a full representation of the Status]]></ns2:doc><ns2:representation
                        element="statuses"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://localhost:8090/jira/rest/api/2.0/status/10000","description":"The issue is currently being worked on.","iconUrl":"http://localhost:8090/jira/images/icons/progress.gif","name":"In Progress","id":"10000","statusCategory":{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/1","id":1,"key":"in-flight","colorName":"yellow","name":"In Progress"}},{"self":"http://localhost:8090/jira/rest/api/2.0/status/5","description":"The issue is closed.","iconUrl":"http://localhost:8090/jira/images/icons/closed.gif","name":"Closed","id":"5","statusCategory":{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/9","id":9,"key":"completed","colorName":"green"}}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of all JIRA issue statuses in JSON format, that are visible to the user.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-status#","title":"List of Status","type":"array","items":{"title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a full representation of the Status]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue status is not found, or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{idOrName}"><ns2:param name="idOrName"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a numeric Status id or a status name]]></ns2:doc></ns2:param><ns2:method
                    id="getStatus"
                        name="GET"><ns2:doc><![CDATA[Returns a full representation of the Status having the given id or name.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a full representation of the Status]]></ns2:doc><ns2:representation
                            element="status"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://localhost:8090/jira/rest/api/2.0/status/10000","description":"The issue is currently being worked on.","iconUrl":"http://localhost:8090/jira/images/icons/progress.gif","name":"In Progress","id":"10000","statusCategory":{"self":"http://localhost:8090/jira/rest/api/2.0/statuscategory/1","id":1,"key":"in-flight","colorName":"yellow","name":"In Progress"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a full representation of a JIRA issue status in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/status#","title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a full representation of the Status]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue status is not found, or the user does not have permission to view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/search"><ns2:doc><![CDATA[Resource for searches.]]></ns2:doc><ns2:method
                id="searchUsingSearchRequest"
                        name="POST"><ns2:doc><![CDATA[Performs a search using JQL.]]></ns2:doc><ns2:request><ns2:representation
                        element="searchRequestBean"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"jql":"project = HSP","startAt":0,"maxResults":15,"fields":["summary","status","assignee"]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/search-request#","title":"Search Request","type":"object","properties":{"jql":{"type":"string"},"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"fields":{"type":"array","items":{"type":"string"}},"validateQuery":{"type":"boolean"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a SearchResultsBean]]></ns2:doc><ns2:representation
                        element="searchResults"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"names,schema","startAt":0,"maxResults":50,"total":1,"issues":[{"expand":"","id":"10001","self":"http://www.example.com/jira/rest/api/2/issue/10001","key":"HSP-1"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of the search results.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/search-results#","title":"Search Results","type":"object","properties":{"expand":{"type":"string"},"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"issues":{"type":"array","items":{"title":"Issue","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"string"},"self":{"type":"string","format":"uri"},"key":{"type":"string"},"fields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"renderedFields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"properties":{"title":"Properties","type":"object","properties":{"properties":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"names":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"schema":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/json-type"}},"additionalProperties":false},"transitions":{"type":"array","items":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/field-meta"}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false}},"operations":{"title":"Opsbar","type":"object","properties":{"linkGroups":{"type":"array","items":{"$ref":"#/definitions/link-group"}}},"additionalProperties":false},"editmeta":{"title":"Edit Meta","type":"object","properties":{"fields":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/field-meta"}},"additionalProperties":false}},"additionalProperties":false},"changelog":{"title":"Changelog","type":"object","properties":{"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"histories":{"type":"array","items":{"title":"Change History","type":"object","properties":{"id":{"type":"string"},"author":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"created":{"type":"string"},"items":{"type":"array","items":{"title":"Change Item","type":"object","properties":{"field":{"type":"string"},"fieldtype":{"type":"string"},"from":{"type":"string"},"fromString":{"type":"string"},"to":{"type":"string"},"toString":{"type":"string"}},"additionalProperties":false}},"historyMetadata":{"title":"History Metadata","type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"descriptionKey":{"type":"string"},"activityDescription":{"type":"string"},"activityDescriptionKey":{"type":"string"},"emailDescription":{"type":"string"},"emailDescriptionKey":{"type":"string"},"actor":{"$ref":"#/definitions/history-metadata-participant"},"generator":{"$ref":"#/definitions/history-metadata-participant"},"cause":{"$ref":"#/definitions/history-metadata-participant"},"extraData":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}}},"additionalProperties":false},"versionedRepresentations":{"type":"object","patternProperties":{".+":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false}},"additionalProperties":false},"fieldsToInclude":{"title":"Included Fields","type":"object"}},"additionalProperties":false}},"warningMessages":{"type":"array","items":{"type":"string"}},"names":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"schema":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/json-type"}},"additionalProperties":false}},"definitions":{"field-meta":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"$ref":"#/definitions/json-type"},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]},"history-metadata-participant":{"title":"History Metadata Participant","type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"type":{"type":"string"},"avatarUrl":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false},"json-type":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"link-group":{"title":"Link Group","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"header":{"$ref":"#/definitions/simple-link"},"weight":{"type":"integer"},"links":{"type":"array","items":{"$ref":"#/definitions/simple-link"}},"groups":{"type":"array","items":{"$ref":"#/definitions/link-group"}}},"additionalProperties":false},"simple-link":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="400"><ns2:doc><![CDATA[a SearchResultsBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem with the JQL query.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="search"
                        name="GET"><ns2:doc><![CDATA[Searches for issues using JQL.
 <p>
 <b>Sorting</b>
 the <code>jql</code> parameter is a full <a href="http://confluence.atlassian.com/display/JIRA/Advanced+Searching">JQL</a>
 expression, and includes an <code>ORDER BY</code> clause.
 </p>
 <p>
 The <code>fields</code> param (which can be specified multiple times) gives a comma-separated list of fields
 to include in the response. This can be used to retrieve a subset of fields.
 A particular field can be excluded by prefixing it with a minus.
 <p>
 By default, only navigable (<code>*navigable</code>) fields are returned in this search resource. Note: the default is different
 in the get-issue resource -- the default there all fields (<code>*all</code>).
 <ul>
 <li><code>*all</code> - include all fields</li>
 <li><code>*navigable</code> - include just navigable fields</li>
 <li><code>summary,comment</code> - include just the summary and comments</li>
 <li><code>-description</code> - include navigable fields except the description (the default is <code>*navigable</code> for search)</li>
 <li><code>*all,-comment</code> - include everything except comments</li>
 </ul>
 <p>
 </p>
 <p><b>GET vs POST:</b>
 If the JQL query is too large to be encoded as a query param you should instead
 POST to this resource.
 </p>
 <p>
 <b>Expanding Issues in the Search Result:</b>
 It is possible to expand the issues returned by directly specifying the expansion on the expand parameter passed
 in to this resources.
 </p>
 <p>
 For instance, to expand the &quot;changelog&quot; for all the issues on the search result, it is neccesary to
 specify &quot;changelog&quot; as one of the values to expand.
 </p>]]></ns2:doc><ns2:request><ns2:param
                        name="jql" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a JQL query string]]></ns2:doc></ns2:param><ns2:param
                        name="startAt" style="query" type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first issue to return (0-based)]]></ns2:doc></ns2:param><ns2:param
                        name="maxResults" style="query" type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of issues to return (defaults to 50). The maximum allowable value is
                      dictated by the JIRA property 'jira.search.views.default.max'. If you specify a value that is higher than this
                      number, your search results will be truncated.]]></ns2:doc></ns2:param><ns2:param
                        name="validateQuery" style="query"
                        type="xs:boolean" default="true"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[whether to validate the JQL query]]></ns2:doc></ns2:param><ns2:param
                        name="fields" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the list of fields to return for each issue. By default, all navigable fields are returned.]]></ns2:doc></ns2:param><ns2:param
                        name="expand" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[A comma-separated list of the parameters to expand.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a SearchResultsBean]]></ns2:doc><ns2:representation
                        element="searchResults"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"expand":"names,schema","startAt":0,"maxResults":50,"total":1,"issues":[{"expand":"","id":"10001","self":"http://www.example.com/jira/rest/api/2/issue/10001","key":"HSP-1"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of the search results.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/search-results#","title":"Search Results","type":"object","properties":{"expand":{"type":"string"},"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"issues":{"type":"array","items":{"title":"Issue","type":"object","properties":{"expand":{"type":"string"},"id":{"type":"string"},"self":{"type":"string","format":"uri"},"key":{"type":"string"},"fields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"renderedFields":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"properties":{"title":"Properties","type":"object","properties":{"properties":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"names":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"schema":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/json-type"}},"additionalProperties":false},"transitions":{"type":"array","items":{"title":"Transition","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"to":{"title":"Status","type":"object","properties":{"self":{"type":"string"},"statusColor":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"id":{"type":"string"},"statusCategory":{"title":"Status Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"colorName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"fields":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/field-meta"}},"additionalProperties":false},"expand":{"type":"string"}},"additionalProperties":false}},"operations":{"title":"Opsbar","type":"object","properties":{"linkGroups":{"type":"array","items":{"$ref":"#/definitions/link-group"}}},"additionalProperties":false},"editmeta":{"title":"Edit Meta","type":"object","properties":{"fields":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/field-meta"}},"additionalProperties":false}},"additionalProperties":false},"changelog":{"title":"Changelog","type":"object","properties":{"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"histories":{"type":"array","items":{"title":"Change History","type":"object","properties":{"id":{"type":"string"},"author":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]},"created":{"type":"string"},"items":{"type":"array","items":{"title":"Change Item","type":"object","properties":{"field":{"type":"string"},"fieldtype":{"type":"string"},"from":{"type":"string"},"fromString":{"type":"string"},"to":{"type":"string"},"toString":{"type":"string"}},"additionalProperties":false}},"historyMetadata":{"title":"History Metadata","type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"descriptionKey":{"type":"string"},"activityDescription":{"type":"string"},"activityDescriptionKey":{"type":"string"},"emailDescription":{"type":"string"},"emailDescriptionKey":{"type":"string"},"actor":{"$ref":"#/definitions/history-metadata-participant"},"generator":{"$ref":"#/definitions/history-metadata-participant"},"cause":{"$ref":"#/definitions/history-metadata-participant"},"extraData":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}}},"additionalProperties":false},"versionedRepresentations":{"type":"object","patternProperties":{".+":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false}},"additionalProperties":false},"fieldsToInclude":{"title":"Included Fields","type":"object"}},"additionalProperties":false}},"warningMessages":{"type":"array","items":{"type":"string"}},"names":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"schema":{"type":"object","patternProperties":{".+":{"$ref":"#/definitions/json-type"}},"additionalProperties":false}},"definitions":{"field-meta":{"title":"Field Meta","type":"object","properties":{"required":{"type":"boolean"},"schema":{"$ref":"#/definitions/json-type"},"name":{"type":"string"},"autoCompleteUrl":{"type":"string"},"hasDefaultValue":{"type":"boolean"},"operations":{"type":"array","items":{"type":"string"}},"allowedValues":{"type":"array","items":{}}},"additionalProperties":false,"required":["required"]},"history-metadata-participant":{"title":"History Metadata Participant","type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"type":{"type":"string"},"avatarUrl":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false},"json-type":{"title":"Json Type","type":"object","properties":{"type":{"type":"string"},"items":{"type":"string"},"system":{"type":"string"},"custom":{"type":"string"},"customId":{"type":"integer"}},"additionalProperties":false},"link-group":{"title":"Link Group","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"header":{"$ref":"#/definitions/simple-link"},"weight":{"type":"integer"},"links":{"type":"array","items":{"$ref":"#/definitions/simple-link"}},"groups":{"type":"array","items":{"$ref":"#/definitions/link-group"}}},"additionalProperties":false},"simple-link":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="400"><ns2:doc><![CDATA[a SearchResultsBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem with the JQL query.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/issuetype/{issueTypeId}/properties"><ns2:doc><![CDATA[This resource allows to store custom properties for issue types.]]></ns2:doc><ns2:param
                name="issueTypeId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue type from which the keys will be returned]]></ns2:doc></ns2:param><ns2:method
                id="getPropertyKeys" name="GET"
                    experimental="true"><ns2:doc><![CDATA[Returns the keys of all properties for the issue type identified by the id.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean]]></ns2:doc><ns2:representation
                        element="issuetype-properties-keys"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"keys":[{"self":"http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support","key":"issue.support"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue type was found.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-properties-keys#","title":"Entity Properties Keys","type":"object","properties":{"keys":{"type":"array","items":{"title":"Entity Property Key","type":"object","properties":{"self":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type with given id does not exist or if the user does not have permissions to view this issue type.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="/{propertyKey}"><ns2:param name="propertyKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the property to return]]></ns2:doc></ns2:param><ns2:param
                    name="issueTypeId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue type from which the property will be returned]]></ns2:doc></ns2:param><ns2:method
                    id="deleteProperty" name="DELETE"
                        experimental="true"><ns2:doc><![CDATA[Removes the property from the issue type identified by the id. Ths user removing the property is required
 to have permissions to edit the issue type.]]></ns2:doc><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type property was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type with given id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setProperty" name="PUT"
                        experimental="true"><ns2:doc><![CDATA[Sets the value of the specified issue type's property.
 <p>
 You can use this resource to store a custom data against an issue type identified by the id. The user
 who stores the data is required to have permissions to edit an issue type.
 </p>]]></ns2:doc><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the issue type property is successfully updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="201"><ns2:representation><ns2:doc><![CDATA[Returned if the issue type property is successfully created.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the issue type id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the issue type with given id does not exist or if the user does not have permissions to edit this issue type.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getProperty" name="GET"
                        experimental="true"><ns2:doc><![CDATA[Returns the value of the property with a given key from the issue type identified by the id. The user who retrieves
 the property is required to have permissions to view the issue type.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}]]></ns2:doc><ns2:representation
                            element="issuetype-property"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"issue.support","value":{"hipchat.room.id":"support-123","support.time":"1m"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the issue type property was found.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-property#","title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the issue type with given id does not exist or if the user does not have permissions to view this issue type.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/filter"><ns2:doc><![CDATA[Resource for searches.]]></ns2:doc><ns2:method
                id="createFilter"
                        name="POST"><ns2:doc><![CDATA[Creates a new filter, and returns newly created filter.
 Currently sets permissions just using the users default sharing permissions]]></ns2:doc><ns2:request><ns2:param
                        name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param><ns2:representation
                        element="filter"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"All Open Bugs","description":"Lists all open bugs","jql":"type = Bug and resolution is empty","favourite":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/filter#","title":"Filter","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"owner":{"$ref":"#/definitions/user"},"jql":{"type":"string"},"viewUrl":{"type":"string","format":"uri"},"searchUrl":{"type":"string","format":"uri"},"favourite":{"type":"boolean"},"sharePermissions":{"type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}},"sharedUsers":{"title":"User Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/user"}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"subscriptions":{"title":"Filter Subscription Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"Filter Subscription","type":"object","properties":{"id":{"type":"integer"},"user":{"$ref":"#/definitions/user"},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]}},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["favourite"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[a {@link FilterBean}]]></ns2:doc><ns2:representation
                        element="filter"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/filter/10000","id":"10000","name":"All Open Bugs","description":"Lists all open bugs","owner":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"jql":"type = Bug and resolution is empty","viewUrl":"http://www.example.com/jira/issues/?filter=10000","searchUrl":"http://www.example.com/jira/rest/api/2/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty","favourite":true,"sharePermissions":[],"subscriptions":{"size":0,"items":[],"max-results":1000,"start-index":0,"end-index":0}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of a filter]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/filter#","title":"Filter","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"owner":{"$ref":"#/definitions/user"},"jql":{"type":"string"},"viewUrl":{"type":"string","format":"uri"},"searchUrl":{"type":"string","format":"uri"},"favourite":{"type":"boolean"},"sharePermissions":{"type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}},"sharedUsers":{"title":"User Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/user"}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"subscriptions":{"title":"Filter Subscription Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"Filter Subscription","type":"object","properties":{"id":{"type":"integer"},"user":{"$ref":"#/definitions/user"},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]}},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["favourite"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="400"><ns2:doc><![CDATA[a {@link FilterBean}]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the input is invalid (e.g. filter name was not provided).]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[The ID of the filter to delete.]]></ns2:doc></ns2:param><ns2:method
                    id="getFilter"
                            name="GET"><ns2:doc><![CDATA[Returns a filter given an id]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a {@link FilterBean}]]></ns2:doc><ns2:representation
                            element="filter"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/filter/10000","id":"10000","name":"All Open Bugs","description":"Lists all open bugs","owner":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"jql":"type = Bug and resolution is empty","viewUrl":"http://www.example.com/jira/issues/?filter=10000","searchUrl":"http://www.example.com/jira/rest/api/2/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty","favourite":true,"sharePermissions":[],"subscriptions":{"size":0,"items":[],"max-results":1000,"start-index":0,"end-index":0}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of a filter]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/filter#","title":"Filter","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"owner":{"$ref":"#/definitions/user"},"jql":{"type":"string"},"viewUrl":{"type":"string","format":"uri"},"searchUrl":{"type":"string","format":"uri"},"favourite":{"type":"boolean"},"sharePermissions":{"type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}},"sharedUsers":{"title":"User Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/user"}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"subscriptions":{"title":"Filter Subscription Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"Filter Subscription","type":"object","properties":{"id":{"type":"integer"},"user":{"$ref":"#/definitions/user"},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]}},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["favourite"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a {@link FilterBean}]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem looking up the filter given the id]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="editFilter"
                            name="PUT"><ns2:doc><![CDATA[Updates an existing filter, and returns its new value.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param><ns2:representation
                            element="filter"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"All Open Bugs","description":"Lists all open bugs","jql":"type = Bug and resolution is empty","favourite":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/filter#","title":"Filter","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"owner":{"$ref":"#/definitions/user"},"jql":{"type":"string"},"viewUrl":{"type":"string","format":"uri"},"searchUrl":{"type":"string","format":"uri"},"favourite":{"type":"boolean"},"sharePermissions":{"type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}},"sharedUsers":{"title":"User Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/user"}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"subscriptions":{"title":"Filter Subscription Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"Filter Subscription","type":"object","properties":{"id":{"type":"integer"},"user":{"$ref":"#/definitions/user"},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]}},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["favourite"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a {@link FilterBean}]]></ns2:doc><ns2:representation
                            element="filter"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/filter/10000","id":"10000","name":"All Open Bugs","description":"Lists all open bugs","owner":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"jql":"type = Bug and resolution is empty","viewUrl":"http://www.example.com/jira/issues/?filter=10000","searchUrl":"http://www.example.com/jira/rest/api/2/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty","favourite":true,"sharePermissions":[],"subscriptions":{"size":0,"items":[],"max-results":1000,"start-index":0,"end-index":0}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of a filter]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/filter#","title":"Filter","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"owner":{"$ref":"#/definitions/user"},"jql":{"type":"string"},"viewUrl":{"type":"string","format":"uri"},"searchUrl":{"type":"string","format":"uri"},"favourite":{"type":"boolean"},"sharePermissions":{"type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}},"sharedUsers":{"title":"User Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/user"}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"subscriptions":{"title":"Filter Subscription Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"Filter Subscription","type":"object","properties":{"id":{"type":"integer"},"user":{"$ref":"#/definitions/user"},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]}},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false,"required":["favourite"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a {@link FilterBean}]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem updating up the filter of the given id]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteFilter"
                        name="DELETE"><ns2:doc><![CDATA[Delete a filter.]]></ns2:doc><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the filter was removed successfully.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/columns"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of the filter]]></ns2:doc></ns2:param><ns2:method
                    id="defaultColumns"
                        name="GET"><ns2:doc><![CDATA[Returns the default columns for the given filter. Currently logged in user will be used as
 the user making such request.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation
                            element="columns"
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns a list of columns for configured for the given user]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-column-layout-item#","title":"List of Column Layout Item","type":"array","items":{"title":"Column Layout Item","type":"object","properties":{"columnHeadingKey":{"type":"string"},"id":{"type":"string"},"navigableField":{"title":"Navigable Field","type":"object","properties":{"columnCssClass":{"type":"string"},"columnHeadingKey":{"type":"string"},"defaultSortOrder":{"type":"string"},"hiddenFieldId":{"type":"string"},"sortComparatorSource":{"title":"Field Comparator Source","type":"object"},"sorter":{"title":"Lucene Field Sorter","type":"object","properties":{"comparator":{"type":"object"},"documentConstant":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"position":{"type":"integer"}},"additionalProperties":false,"required":["position"]}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the column configuration.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[column configuration]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the filter does not have any columns.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setColumns"
                            name="PUT"><ns2:doc><![CDATA[Sets the default columns for the given filter.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/x-www-form-urlencoded"><ns2:param
                                name="columns" style="query"
                                type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[list of column ids]]></ns2:doc></ns2:param></ns2:representation></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when the columns are saved successfully]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="500"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the column configuration.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="resetColumns"
                        name="DELETE"><ns2:doc><![CDATA[Resets the columns for the given filter such that the filter no longer has its own column config.]]></ns2:doc><ns2:response
                        status="500"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the column configuration.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="204"><ns2:doc><![CDATA[javax.ws.rs.core.Response containing basic message and http return code]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when the columns are reset/removed successfully]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="favourite"><ns2:method
                    id="getFavouriteFilters"
                            name="GET"><ns2:doc><![CDATA[Returns the favourite filters of the logged-in user.]]></ns2:doc><ns2:request><ns2:param
                            name="expand" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the parameters to expand]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a List of {@link FilterBean}]]></ns2:doc><ns2:representation
                            element="filter"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/filter/10000","id":"10000","name":"All Open Bugs","description":"Lists all open bugs","owner":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"jql":"type = Bug and resolution is empty","viewUrl":"http://www.example.com/jira/issues/?filter=10000","searchUrl":"http://www.example.com/jira/rest/api/2/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty","favourite":true,"sharePermissions":[],"subscriptions":{"size":0,"items":[],"max-results":1000,"start-index":0,"end-index":0}},{"self":"http://www.example.com/jira/rest/api/2/filter/10010","id":"10010","name":"My issues","description":"Issues assigned to me","owner":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"jql":"assignee = currentUser() and resolution is empty","viewUrl":"http://www.example.com/jira/issues/?filter=10010","searchUrl":"http://www.example.com/jira/rest/api/2/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty","favourite":true,"sharePermissions":[{"id":10000,"type":"global"},{"id":10010,"type":"project","project":{"self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","name":"Example","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}}}],"subscriptions":{"size":0,"items":[],"max-results":1000,"start-index":0,"end-index":0}}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a JSON representation of a list of filters]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-filter#","title":"List of Filter","type":"array","items":{"title":"Filter","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"owner":{"$ref":"#/definitions/user"},"jql":{"type":"string"},"viewUrl":{"type":"string","format":"uri"},"searchUrl":{"type":"string","format":"uri"},"favourite":{"type":"boolean"},"sharePermissions":{"type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}},"sharedUsers":{"title":"User Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/user"}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"subscriptions":{"title":"Filter Subscription Bean List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"Filter Subscription","type":"object","properties":{"id":{"type":"integer"},"user":{"$ref":"#/definitions/user"},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]}},"additionalProperties":false,"required":["favourite"]},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="defaultShareScope"><ns2:method
                    id="getDefaultShareScope"
                        name="GET"><ns2:doc><![CDATA[Returns the default share scope of the logged-in user.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a {@link DefaultShareScopeBean}]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"scope":"GLOBAL"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the default share scope of the logged-in user.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/default-share-scope#","title":"Default Share Scope","type":"object","properties":{"scope":{"type":"string","enum":["GLOBAL","PRIVATE"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a {@link DefaultShareScopeBean}]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem looking up preferences for the logged-in user]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setDefaultShareScope"
                            name="PUT"><ns2:doc><![CDATA[Sets the default share scope of the logged-in user. Available values are GLOBAL and PRIVATE.]]></ns2:doc><ns2:request><ns2:representation
                            element="defaultShareScope"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"scope":"GLOBAL"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/default-share-scope#","title":"Default Share Scope","type":"object","properties":{"scope":{"type":"string","enum":["GLOBAL","PRIVATE"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a {@link DefaultShareScopeBean}]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"scope":"GLOBAL"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns the new default share scope of the logged-in user.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/default-share-scope#","title":"Default Share Scope","type":"object","properties":{"scope":{"type":"string","enum":["GLOBAL","PRIVATE"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="400"><ns2:doc><![CDATA[a {@link DefaultShareScopeBean}]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is a problem setting the preferences for the logged-in user]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/permission"><ns2:param name="id"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getSharePermissions"
                        name="GET"><ns2:doc><![CDATA[Returns all share permissions of the given filter.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a list of share permissions associated with the given filter.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"id":10000,"type":"global"},{"id":10010,"type":"project","project":{"self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","name":"Example","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}}},{"id":10010,"type":"project","project":{"self":"http://www.example.com/jira/rest/api/2/project/MKY","id":"10002","key":"MKY","name":"Example","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10002","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10002","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10002","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10002"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}},"role":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}},{"id":10010,"type":"group","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"}}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-filter-permission#","title":"List of Filter Permission","type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a list of share permissions associated with the given filter.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a list of share permissions associated with the given filter.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when filter with given id does not exist or when the user does not have permissions to view the filter.
    .]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="addSharePermission"
                            name="POST"><ns2:doc><![CDATA[Adds a share permissions to the given filter. Adding a global permission removes all previous permissions from the filter.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"type":"group","groupname":"jira-administrators"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/share-permission-input#","title":"Share Permission Input","type":"object","properties":{"type":{"type":"string"},"projectId":{"type":"string"},"groupname":{"type":"string"},"projectRoleId":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[share permissions associated with the given filter]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"id":10000,"type":"global"},{"id":10010,"type":"project","project":{"self":"http://www.example.com/jira/rest/api/2/project/EX","id":"10000","key":"EX","name":"Example","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10000","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10000","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10000","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10000"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}}},{"id":10010,"type":"project","project":{"self":"http://www.example.com/jira/rest/api/2/project/MKY","id":"10002","key":"MKY","name":"Example","avatarUrls":{"48x48":"http://www.example.com/jira/secure/projectavatar?size=large&amp;pid=10002","24x24":"http://www.example.com/jira/secure/projectavatar?size=small&amp;pid=10002","16x16":"http://www.example.com/jira/secure/projectavatar?size=xsmall&amp;pid=10002","32x32":"http://www.example.com/jira/secure/projectavatar?size=medium&amp;pid=10002"},"projectCategory":{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}},"role":{"self":"http://www.example.com/jira/rest/api/2/project/MKY/role/10360","name":"Developers","id":10360,"description":"A project role that represents developers in a project","actors":[{"id":10240,"displayName":"jira-developers","type":"atlassian-group-role-actor","name":"jira-developers"}]}},{"id":10010,"type":"group","group":{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"}}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-filter-permission#","title":"List of Filter Permission","type":"array","items":{"title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"additionalProperties":false},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[share permissions associated with the given filter]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned given permission input bean is invalid or when user does not have the permission to share filters or when the user cannot edit the given filter.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[share permissions associated with the given filter]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[share permissions associated with the given filter]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when filter with given id does not exist or when the user does not have permissions to view the filter.
    .]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/permission/{permissionId}"><ns2:param
                    name="permissionId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                    name="id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getSharePermission"
                        name="GET"><ns2:doc><![CDATA[Returns a single share permission of the given filter.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a a share permission associated with the given filter and permission-id.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"type":"global"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/filter-permission#","title":"Filter Permission","type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"project":{"title":"Project","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"components":{"type":"array","items":{"title":"Component","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"lead":{"$ref":"#/definitions/user"},"leadUserName":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"assignee":{"$ref":"#/definitions/user"},"realAssigneeType":{"type":"string","enum":["PROJECT_DEFAULT","COMPONENT_LEAD","PROJECT_LEAD","UNASSIGNED"]},"realAssignee":{"$ref":"#/definitions/user"},"isAssigneeTypeValid":{"type":"boolean"},"project":{"type":"string"},"projectId":{"type":"integer"}},"additionalProperties":false,"required":["isAssigneeTypeValid"]}},"issueTypes":{"type":"array","items":{"title":"Issue Type","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"string"},"name":{"type":"string"},"subtask":{"type":"boolean"},"avatarId":{"type":"integer"}},"additionalProperties":false,"required":["subtask"]}},"url":{"type":"string"},"email":{"type":"string"},"assigneeType":{"type":"string","enum":["PROJECT_LEAD","UNASSIGNED"]},"versions":{"type":"array","items":{"title":"Version","type":"object","properties":{"expand":{"type":"string"},"self":{"type":"string","format":"uri"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"archived":{"type":"boolean"},"released":{"type":"boolean"},"overdue":{"type":"boolean"},"userStartDate":{"type":"string"},"userReleaseDate":{"type":"string"},"project":{"type":"string"},"projectId":{"type":"integer"},"moveUnfixedIssuesTo":{"type":"string","format":"uri"},"operations":{"type":"array","items":{"title":"Simple Link","type":"object","properties":{"id":{"type":"string"},"styleClass":{"type":"string"},"iconClass":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"href":{"type":"string"},"weight":{"type":"integer"}},"additionalProperties":false}},"remotelinks":{"type":"array","items":{"title":"Remote Entity Link","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"link":{}},"additionalProperties":false}}},"additionalProperties":false}},"name":{"type":"string"},"roles":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"projectKeys":{"type":"array","items":{"type":"string"}},"projectCategory":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false},"projectTypeKey":{"type":"string"}},"additionalProperties":false},"role":{"title":"Project Role","type":"object","properties":{"self":{"type":"string","format":"uri"},"name":{"type":"string"},"id":{"type":"integer"},"description":{"type":"string"},"actors":{"type":"array","items":{"title":"Role Actor","type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false},"group":{"$ref":"#/definitions/group"}},"definitions":{"group":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false},"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/group"}}},"additionalProperties":false,"required":["size"]},"user":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a a share permission associated with the given filter and permission-id.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a a share permission associated with the given filter and permission-id.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned when filter or permission with given id does not exist or when the user does not have permissions to view the filter.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{id}/permission/{permission-id}"><ns2:param
                    name="id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:param
                    name="permission-id" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="deleteSharePermission"
                        name="DELETE"><ns2:doc><![CDATA[Removes a share permissions from the given filter.]]></ns2:doc><ns2:response
                            status="200"><ns2:representation
                        mediaType="application/json"/></ns2:response><ns2:response
                        status="204"><ns2:representation><ns2:doc><![CDATA[Returned if successful.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:representation><ns2:doc><![CDATA[Returned when filter or permission with given id does not exist or when the user does not have permissions to view the filter.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/screens"><ns2:resource
                    path="{screenId}/tabs"><ns2:param name="screenId"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of screen]]></ns2:doc></ns2:param><ns2:method
                    id="addTab"
                            name="POST"><ns2:doc><![CDATA[Creates tab for given screen]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/screenable-tab#","title":"Screenable Tab","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing newly created tab]]></ns2:doc><ns2:representation
                            element="Newly created tab"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"name":"Fields Tab"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Newly created tab in JSON.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/screenable-tab#","title":"Screenable Tab","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing newly created tab]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen does not exist or tab name is invalid]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a response containing newly created tab]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getAllTabs"
                            name="GET"><ns2:doc><![CDATA[Returns a list of all tabs for the given screen]]></ns2:doc><ns2:request><ns2:param
                            name="projectKey" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the project; this parameter is optional]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing all tabs for screen]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><![CDATA[Contains a full representation of all visible tabs in JSON.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-screenable-tab#","title":"List of Screenable Tab","type":"array","items":{"title":"Screenable Tab","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing all tabs for screen]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen does not exist]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[a response containing all tabs for screen]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{screenId}/tabs/{tabId}/fields"><ns2:param
                    name="screenId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of screen]]></ns2:doc></ns2:param><ns2:param
                    name="tabId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of tab]]></ns2:doc></ns2:param><ns2:method
                    id="addField"
                            name="POST"><ns2:doc><![CDATA[Adds field to the given tab.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"fieldId":"summary"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/add-field#","title":"Add Field","type":"object","properties":{"fieldId":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":"summary","name":"Summary"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Newly added field as json]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/screenable-field#","title":"Screenable Field","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen,tab or field does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getAllFields"
                            name="GET"><ns2:doc><![CDATA[Gets all fields for a given tab]]></ns2:doc><ns2:request><ns2:param
                            name="projectKey" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the project; this parameter is optional]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                    status="200"><ns2:doc><![CDATA[a response containing all fields for given tab]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[List of fields for given tab]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-screenable-tab#","title":"List of Screenable Tab","type":"array","items":{"title":"Screenable Tab","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing all fields for given tab]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen or tab does not exist]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[a response containing all fields for given tab]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{screenId}/tabs/{tabId}/fields/{id}"><ns2:param
                    name="screenId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of screen]]></ns2:doc></ns2:param><ns2:param
                    name="tabId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of tab]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="removeField"
                        name="DELETE"><ns2:doc><![CDATA[Removes field from given tab]]></ns2:doc><ns2:response
                        status="201"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Successfully removed field from tab]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen or tab does not exist]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{screenId}/tabs/{tabId}"><ns2:param
                    name="screenId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of screen]]></ns2:doc></ns2:param><ns2:param
                    name="tabId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of tab]]></ns2:doc></ns2:param><ns2:method
                    id="renameTab"
                            name="PUT"><ns2:doc><![CDATA[Renames tab on given screen]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/screenable-tab#","title":"Screenable Tab","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing renamed tab]]></ns2:doc><ns2:representation
                            element="Modified tab"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10000,"name":"Fields Tab"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Modified tab in JSON.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/screenable-tab#","title":"Screenable Tab","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing renamed tab]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen does not exist or tab name is invalid]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a response containing renamed tab]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="deleteTab"
                        name="DELETE"><ns2:doc><![CDATA[Deletes tab to give screen]]></ns2:doc><ns2:response
                        status="201"><ns2:doc><![CDATA[A response containing no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Successfully deleted tab]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[A response containing no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen or tab does not exist]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[A response containing no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{screenId}/tabs/{tabId}/move/{pos}"><ns2:param
                    name="screenId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of screen]]></ns2:doc></ns2:param><ns2:param
                    name="tabId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of tab]]></ns2:doc></ns2:param><ns2:param
                    name="pos" style="template" type="xs:int"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[position of tab]]></ns2:doc></ns2:param><ns2:method
                    id="moveTab"
                        name="POST"><ns2:doc><![CDATA[Moves tab position]]></ns2:doc><ns2:response
                        status="201"><ns2:doc><![CDATA[A response containing no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Successfully moved tab]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[A response containing no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen or tab does not exist]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[A response containing no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{screenId}/availableFields"><ns2:param
                    name="screenId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of screen]]></ns2:doc></ns2:param><ns2:method
                    id="getFieldsToAdd"
                        name="GET"><ns2:doc><![CDATA[Gets available fields for screen. i.e ones that haven't already been added.]]></ns2:doc><ns2:response
                                    status="200"><ns2:doc><![CDATA[a response containing available fields]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[List of available fields for screen]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-screenable-tab#","title":"List of Screenable Tab","type":"array","items":{"title":"Screenable Tab","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing available fields]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen does not exist]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[a response containing available fields]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{screenId}/tabs/{tabId}/fields/{id}/move"><ns2:param
                    name="screenId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of screen]]></ns2:doc></ns2:param><ns2:param
                    name="tabId" style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of tab]]></ns2:doc></ns2:param><ns2:param
                    name="id" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="moveField"
                            name="POST"><ns2:doc><![CDATA[Moves field on the given tab]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/move-field#","title":"Move Field","type":"object","properties":{"after":{"type":"string","format":"uri"},"position":{"type":"string","enum":["Earlier","Later","First","Last"]}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Successfully moved tab]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen or tab does not exist. Or move cooridinates invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="401"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="addToDefault/{fieldId}"><ns2:param
                    name="fieldId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[id of field / custom field]]></ns2:doc></ns2:param><ns2:method
                    id="addFieldToDefaultScreen"
                        name="POST"><ns2:doc><![CDATA[Adds field or custom field to the default tab]]></ns2:doc><ns2:response
                        status="201"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Successfully added field to default screen / default tab]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if screen, tab or field does not exist or field is already present on a selected tab]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="401"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if you do not have administrator permissions]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/reindex/request"><ns2:doc><![CDATA[REST resource for querying and executing reindex requests.]]></ns2:doc><ns2:method
                id="processRequests"
                    name="POST"><ns2:doc><![CDATA[Executes any pending reindex requests.  Returns a JSON array containing the IDs of the reindex requests
 that are being processed.  Execution is asynchronous - progress of the returned tasks can be monitored through
 other REST calls.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[JSON array containing the IDs of the reindex requests that are being processed.]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><![CDATA[Returns an array containing the reindex request IDs being processed.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"type":"array","items":{"type":"integer"}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{requestId}"><ns2:param name="requestId"
                    style="template" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the reindex request ID.]]></ns2:doc></ns2:param><ns2:method
                    id="getProgress"
                        name="GET"><ns2:doc><![CDATA[Retrieves the progress of a single reindex request.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[details and status of the reindex request.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10500,"status":"PENDING","type":"IMMEDIATE","requestTime":"2016-03-16T04:22:36.917+0000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Details and status of the reindex request.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/reindex-request#","title":"Reindex Request","type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["PENDING","ACTIVE","RUNNING","FAILED","COMPLETE"]},"type":{"type":"string","enum":["IMMEDIATE","DELAYED"]},"requestTime":{"type":"string"},"startTime":{"type":"string"},"completionTime":{"type":"string"}},"additionalProperties":false,"required":["id"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[details and status of the reindex request.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if no such reindex request exists.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="bulk"><ns2:method id="getProgressBulk"
                            name="GET"><ns2:doc><![CDATA[Retrieves the progress of a multiple reindex requests.  Only reindex requests that actually exist will be returned
 in the results.]]></ns2:doc><ns2:request><ns2:param
                            name="requestId" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the reindex request IDs.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[an array of results describing the progress of each of the found requests.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"id":10500,"status":"PENDING","type":"IMMEDIATE","requestTime":"2016-03-16T04:22:36.917+0000"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Details and status of the reindex request.]]></ns2:doc><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/reindex-request#","title":"Reindex Request","type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["PENDING","ACTIVE","RUNNING","FAILED","COMPLETE"]},"type":{"type":"string","enum":["IMMEDIATE","DELAYED"]},"requestTime":{"type":"string"},"startTime":{"type":"string"},"completionTime":{"type":"string"}},"additionalProperties":false,"required":["id"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/upgrade"><ns2:doc><![CDATA[REST resource for executing and querying delayed upgrades.]]></ns2:doc><ns2:method
                id="runUpgradesNow"
                    name="POST"><ns2:doc><![CDATA[Runs any pending delayed upgrade tasks.  Need Admin permissions to do this.]]></ns2:doc><ns2:response
                        status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method><ns2:method
                id="getUpgradeResult"
                    name="GET"><ns2:doc><![CDATA[Returns the result of the last upgrade task.

 Returns {@link javax.ws.rs.core.Response#seeOther(java.net.URI)} if still running.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[the result of the last upgrade.]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"startTime":"2016-03-16T04:22:38.090+0000","duration":2001,"outcome":"SUCCESS","message":""}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the upgrade is complete]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/upgrade-result#","title":"Upgrade Result","type":"object","properties":{"startTime":{"type":"string"},"duration":{"type":"integer"},"outcome":{"type":"string"},"message":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="303"><ns2:doc><![CDATA[the result of the last upgrade.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the upgrade task is still running.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[the result of the last upgrade.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if no prior upgrade task exists.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/licenseValidator"><ns2:doc><![CDATA[A REST endpoint to provide simple validation services for a JIRA license.
 Typically used by the setup phase of the JIRA application.  This will return an object
 with a list of errors as key, value pairs.]]></ns2:doc><ns2:method
                id="validate"
                        name="POST"><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/string#","title":"String","type":"string"}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status=""><ns2:representation
                        element="licenseValidationResults"
            mediaType="application/json"/></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/projectvalidate"><ns2:resource
                    path="key"><ns2:method id="getProject"
                            name="GET"><ns2:doc><![CDATA[Validates a project key.]]></ns2:doc><ns2:request><ns2:param
                            name="key" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project key]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[an ErrorCollection containing any errors. If the project key is valid, the ErrorCollection will be empty.]]></ns2:doc><ns2:representation
                            element="errorCollection"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"errorMessages":[],"errors":{"projectKey":"A project with that project key already exists."}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns an ErrorCollection containing any validation errors for the project key.]]></ns2:doc><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/error-collection#","title":"Error Collection","type":"object","properties":{"errorMessages":{"type":"array","items":{"type":"string"}},"errors":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"status":{"type":"integer"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/dashboard"><ns2:doc><![CDATA[The <code>/dashboard</code> resource.]]></ns2:doc><ns2:method
                id="list"
                        name="GET"><ns2:doc><![CDATA[Returns a list of all dashboards, optionally filtering them.]]></ns2:doc><ns2:request><ns2:param
                        name="filter" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[an optional filter that is applied to the list of dashboards. Valid values include
                        <code>"favourite"</code> for returning only favourite dashboards, and <code>"my"</code> for returning
                        dashboards that are owned by the calling user.]]></ns2:doc></ns2:param><ns2:param
                        name="startAt" style="query" type="xs:int"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first dashboard to return (0-based). must be 0 or a multiple of
                        <code>maxResults</code>]]></ns2:doc></ns2:param><ns2:param
                        name="maxResults" style="query" type="xs:int"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[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 <code>maxResults</code> limit that is lower than the value that a
                        client provides, dues to lack or resources or any other condition. When this happens, your results will be
                        truncated. Callers should always check the returned <code>maxResults</code> to determine the value that is
                        effectively being used.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                                status="200"><ns2:doc><![CDATA[a list of Dashboards]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"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"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of dashboards.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/dashboards#","title":"Dashboards","type":"object","properties":{"startAt":{"type":"integer"},"maxResults":{"type":"integer"},"total":{"type":"integer"},"prev":{"type":"string"},"next":{"type":"string"},"dashboards":{"type":"array","items":{"title":"Dashboard","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"self":{"type":"string"},"view":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the dashboard id]]></ns2:doc></ns2:param><ns2:method
                    id="getDashboard"
                        name="GET"><ns2:doc><![CDATA[Returns a single dashboard.]]></ns2:doc><ns2:response
                                    status="200"><ns2:doc><![CDATA[a dashboard]]></ns2:doc><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"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"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a single dashboard.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/dashboard#","title":"Dashboard","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"self":{"type":"string"},"view":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a dashboard]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if there is no dashboard with the specified id, or if the user does not have permission to see it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/issue/{issueIdOrKey}/attachments"><ns2:doc><![CDATA[Issue attachments]]></ns2:doc><ns2:param
                name="issueIdOrKey" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the issue that you want to add the attachments to]]></ns2:doc></ns2:param><ns2:method
                id="addAttachment"
                    name="POST"><ns2:doc><![CDATA[Add one or more attachments to an issue.
 <p>
 This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client
 libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components
 library provides a
 <a href="http://hc.apache.org/httpcomponents-client-ga/httpmime/apidocs/org/apache/http/entity/mime/MultipartEntity.html">MultiPartEntity</a>
 that makes it simple to submit a multipart POST.
 <p>
 In order to protect against XSRF attacks, because this method accepts multipart/form-data, it has XSRF protection
 on it.  This means you must submit a header of X-Atlassian-Token: no-check with the request, otherwise it will be
 blocked.
 <p>
 The name of the multipart/form-data parameter that contains attachments must be "file"
 <p>
 A simple example to upload a file called "myfile.txt" to issue REST-123:
 <pre>curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: no-check" -F "file=@myfile.txt" http://myhost/rest/api/2/issue/TEST-123/attachments</pre>]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a JSON representation of the attachments added.]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2.0/attachments/10000","filename":"picture.jpg","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.461+0000","size":23123,"mimeType":"image/jpeg","content":"http://www.example.com/jira/attachments/10000","thumbnail":"http://www.example.com/jira/secure/thumbnail/10000"},{"self":"http://www.example.com/jira/rest/api/2.0/attachments/10001","filename":"dbeuglog.txt","author":{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","avatarUrls":{"48x48":"http://www.example.com/jira/secure/useravatar?size=large&amp;ownerId=fred","24x24":"http://www.example.com/jira/secure/useravatar?size=small&amp;ownerId=fred","16x16":"http://www.example.com/jira/secure/useravatar?size=xsmall&amp;ownerId=fred","32x32":"http://www.example.com/jira/secure/useravatar?size=medium&amp;ownerId=fred"},"displayName":"Fred F. User","active":false},"created":"2016-03-16T04:22:37.461+0000","size":2460,"mimeType":"text/plain","content":"http://www.example.com/jira/attachments/10001","thumbnail":"http://www.example.com/jira/secure/thumbnail/10002"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-attachment#","title":"List of Attachment","type":"array","items":{"title":"Attachment","type":"object","properties":{"self":{"type":"string","format":"uri"},"filename":{"type":"string"},"author":{"title":"User","type":"object","properties":{"self":{"type":"string","format":"uri"},"key":{"type":"string"},"name":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string","format":"uri"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"},"locale":{"type":"string"},"groups":{"$ref":"#/definitions/simple-list-wrapper"},"applicationRoles":{"$ref":"#/definitions/simple-list-wrapper"},"expand":{"type":"string"}},"additionalProperties":false,"required":["active"]},"created":{"type":"string"},"size":{"type":"integer"},"mimeType":{"type":"string"},"properties":{"type":"object","patternProperties":{".+":{}},"additionalProperties":false},"content":{"type":"string"},"thumbnail":{"type":"string"}},"additionalProperties":false,"required":["size"]},"definitions":{"simple-list-wrapper":{"title":"Simple List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"items":{"type":"array","items":{"title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["size"]}}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a JSON representation of the attachments added.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if attachments is disabled or if you don't have permission to add attachments to this issue.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a JSON representation of the attachments added.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested issue is not found, the user does not have permission to view it, or if the
 attachments exceeds the maximum configured attachment size.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                path="api/2/group"><ns2:method id="createGroup"
                        name="POST"><ns2:doc><![CDATA[Creates a group by given group parameter
 <p>
 Returns REST representation for the requested group.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/add-group#","title":"Add Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation
                        element="group"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"jira-administrators","self":"http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators","users":{"size":1,"items":[{"self":"http://www.example.com/jira/rest/api/2/user?username=fred","name":"fred","displayName":"Fred F. User","active":false}],"max-results":50,"start-index":0,"end-index":0},"expand":"users"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns full representation of a JIRA group in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/group#","title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"},"users":{"title":"Paged List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"expand":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user requested an empty group name or group already exists]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user does not have administrator permissions.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="getGroup" name="GET"
                        deprecated="true"><ns2:doc><![CDATA[Returns REST representation for the requested group. Allows to get list of active users belonging to the
 specified group and its subgroups if "users" expand option is provided. You can page through users list by using
 indexes in expand param. For example to get users from index 10 to index 15 use "users[10:15]" expand value. This
 will return 6 users (if there are at least 16 users in this group). Indexes are 0-based and inclusive.
 <p>
 This resource is deprecated, please use group/member API instead.]]></ns2:doc><ns2:request><ns2:param
                        name="groupname" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[A name of requested group.]]></ns2:doc></ns2:param><ns2:param
                        name="expand" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[List of fields to expand. Currently only available expand is "users".]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status=""><ns2:representation
                mediaType="application/json"/></ns2:response></ns2:method><ns2:method
                id="removeGroup"
                        name="DELETE"><ns2:doc><![CDATA[Deletes a group by given group parameter.
 <p>
 Returns no content]]></ns2:doc><ns2:request><ns2:param
                        name="groupname" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[(mandatory) The name of the group to delete.]]></ns2:doc></ns2:param><ns2:param
                        name="swapGroup" style="query" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[If you delete a group and content is restricted to that group, the content will be hidden from all users. 
 To prevent this, use this parameter to specify a different group to transfer the restrictions (comments and worklogs only) to.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation
                    mediaType="application/json"><ns2:doc><![CDATA[Returned if the group was deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user requested an group that does not exist.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user does not have administrator permissions.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[no content]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested group was not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="member"><ns2:method id="getUsersFromGroup"
                            name="GET"><ns2:doc><![CDATA[This resource returns a <a href="#pagination">paginated</a> list of users who are members of the specified group and its subgroups.
 Users in the page are ordered by user names. User of this resource is required to have sysadmin or admin permissions.]]></ns2:doc><ns2:request><ns2:param
                            name="groupname" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[a name of the group for which members will be returned.]]></ns2:doc></ns2:param><ns2:param
                            name="includeInactiveUsers" style="query"
                            type="xs:boolean" default="false"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[inactive users will be included in the response if set to true.]]></ns2:doc></ns2:param><ns2:param
                            name="startAt" style="query" type="xs:long"
                            default="0"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the index of the first user in group to return (0 based).]]></ns2:doc></ns2:param><ns2:param
                            name="maxResults" style="query"
                            type="xs:int" default="50"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the maximum number of users to return (max 50).]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a paginated list of users in the group.]]></ns2:doc><ns2:representation
                            element="usersInGroup"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/group/member?groupname=jira-administrators&amp;includeInactiveUsers=false&amp;startAt=2&amp;maxResults=2","nextPage":"http://www.example.com/jira/rest/api/2/group/member?groupname=jira-administrators&amp;includeInactiveUsers=false&amp;startAt=4&amp;maxResults=2","maxResults":2,"startAt":3,"total":5,"isLast":false,"values":[{"self":"http://example/jira/rest/api/2/user?username=fred","name":"Fred","key":"fred","emailAddress":"fred@atlassian.com","avatarUrls":{},"displayName":"Fred","active":true,"timeZone":"Australia/Sydney"},{"self":"http://example/jira/rest/api/2/user?username=barney","name":"Barney","key":"barney","emailAddress":"barney@atlassian.com","avatarUrls":{},"displayName":"Barney","active":false,"timeZone":"Australia/Sydney"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Paginated list of users in the group.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/group#","title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"},"users":{"title":"Paged List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"expand":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a paginated list of users in the group.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the name of the provided group is empty]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a paginated list of users in the group.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the user is not logged in.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a paginated list of users in the group.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not admin or sysadmin]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a paginated list of users in the group.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the specified group does not exist]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="user"><ns2:method id="addUserToGroup"
                            name="POST"><ns2:doc><![CDATA[Adds given user to a group.
 <p>
 Returns the current state of the group.]]></ns2:doc><ns2:request><ns2:param
                            name="groupname" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[A name of requested group.]]></ns2:doc></ns2:param><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"charlie"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/update-user-to-group#","title":"Update User To Group","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation
                            element="group"
                                    mediaType="application/json"><ns2:doc><![CDATA[Returns full representation of a JIRA group in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/group#","title":"Group","type":"object","properties":{"name":{"type":"string"},"self":{"type":"string","format":"uri"},"users":{"title":"Paged List Wrapper","type":"object","properties":{"size":{"type":"integer"},"max-results":{"type":"integer"},"start-index":{"type":"integer"},"end-index":{"type":"integer"},"items":{"type":"array","items":{"title":"User","type":"object","properties":{"self":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"emailAddress":{"type":"string"},"avatarUrls":{"type":"object","patternProperties":{".+":{"type":"string"}},"additionalProperties":false},"displayName":{"type":"string"},"active":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false,"required":["active"]}}},"additionalProperties":false,"required":["size","max-results","start-index","end-index"]},"expand":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user requested an empty group name or the user already belongs to the group.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user does not have administrator permissions.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested group was not found or requested user was not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="removeUserFromGroup"
                            name="DELETE"><ns2:doc><![CDATA[Removes given user from a group.
 <p>
 Returns no content]]></ns2:doc><ns2:request><ns2:param
                            name="groupname" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[A name of requested group.]]></ns2:doc></ns2:param><ns2:param
                            name="username" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[User to remove from a group]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation
                            element="group"
                        mediaType="application/json"><ns2:doc><![CDATA[If the user was removed from the group.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if user requested an empty group name]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the current user does not have administrator permissions.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[REST representation of a group]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the requested group was not found or the requested user wan not found]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/avatar"><ns2:resource
                    path="{type}/temporaryCrop"><ns2:param name="type"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the avatar type]]></ns2:doc></ns2:param><ns2:method
                    id="createAvatarFromTemporary"
                            name="POST"><ns2:doc><![CDATA[Updates the cropping instructions of the temporary avatar.]]></ns2:doc><ns2:request><ns2:representation
                            element="avatarCroppingBean"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"needsCropping":false}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                            status="201"><ns2:representation
                            element="avatar"
                        mediaType="application/json"/></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the cropping coordinates are invalid]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="500"><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while cropping the temporary avatar]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{type}/temporary"><ns2:param name="type"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the avatar type]]></ns2:doc></ns2:param><ns2:method
                    id="storeTemporaryAvatar"
                            name="POST"><ns2:doc><![CDATA[Creates temporary avatar]]></ns2:doc><ns2:request><ns2:param
                            name="filename" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[name of file being uploaded]]></ns2:doc></ns2:param><ns2:param
                            name="size" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[size of file]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="201"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation
                            element="avatar"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"cropperWidth":120,"cropperOffsetX":50,"cropperOffsetY":50,"url":"http://example.com/jira/secure/temporaryavatar?cropped=true","needsCropping":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/avatar-cropping#","title":"Avatar Cropping","type":"object","properties":{"cropperWidth":{"type":"integer"},"cropperOffsetX":{"type":"integer"},"cropperOffsetY":{"type":"integer"},"url":{"type":"string"},"needsCropping":{"type":"boolean"}},"additionalProperties":false,"required":["cropperWidth","cropperOffsetX","cropperOffsetY","needsCropping"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Valiation failed. For example filesize is beyond max attachment size.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="500"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while converting temporary avatar to real avatar]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="403"><ns2:doc><![CDATA[temporary avatar cropping instructions]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the request does not conain a valid XSRF token]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="{type}/system"><ns2:param name="type"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the avatar type]]></ns2:doc></ns2:param><ns2:method
                    id="getAllSystemAvatars"
                        name="GET"><ns2:doc><![CDATA[Returns all system avatars of the given type.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[all system avatars of the given type.]]></ns2:doc><ns2:representation
                            element="avatars"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"system":[{"id":"1000","owner":"fred","isSystemAvatar":true,"isSelected":false,"isDeletable":false,"urls":{"16x16":"http://localhost:8090/jira/secure/useravatar?size=xsmall&amp;avatarId=10040","24x24":"http://localhost:8090/jira/secure/useravatar?size=small&amp;avatarId=10040","32x32":"http://localhost:8090/jira/secure/useravatar?size=medium&amp;avatarId=10040","48x48":"http://localhost:8090/jira/secure/useravatar?avatarId=10040"},"selected":false}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a map containing a list of system avatars. A map is returned to be consistent with the shape of the
 project/KEY/avatars REST end point.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/system-avatars#","title":"System Avatars","type":"object","properties":{"system":{"type":"array","items":{"title":"Avatar","type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"isSystemAvatar":{"type":"boolean"},"isSelected":{"type":"boolean"},"isDeletable":{"type":"boolean"},"urls":{"type":"object","patternProperties":{"\\d\\dx\\d\\d":{"type":"string","format":"uri"}},"additionalProperties":false},"selected":{"type":"boolean"}},"additionalProperties":false,"required":["isSystemAvatar","isSelected","isDeletable","selected"]}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="500"><ns2:doc><![CDATA[all system avatars of the given type.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the list of avatars.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/comment/{commentId}/properties"><ns2:param
                name="commentId" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the comment from which keys will be returned.]]></ns2:doc></ns2:param><ns2:method
                id="getPropertiesKeys" name="GET"
                    experimental="true"><ns2:doc><![CDATA[Returns the keys of all properties for the comment identified by the key or by the id.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation
                        element="comment-properties-keys"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"keys":[{"self":"http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support","key":"issue.support"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the comment was found.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-properties-keys#","title":"Entity Properties Keys","type":"object","properties":{"keys":{"type":"array","items":{"title":"Entity Property Key","type":"object","properties":{"self":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the comment key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to browse the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the comment with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="/{propertyKey}"><ns2:param name="propertyKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the property to return.]]></ns2:doc></ns2:param><ns2:param
                    name="commentId" style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the comment from which the property will be returned.]]></ns2:doc></ns2:param><ns2:method
                    id="deleteProperty" name="DELETE"
                        experimental="true"><ns2:doc><![CDATA[Removes the property from the comment identified by the key or by the id. Ths user removing the property is required
 to have permissions to administer the comment.]]></ns2:doc><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the comment key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the comment property was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to edit the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the comment with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setProperty" name="PUT"
                        experimental="true"><ns2:doc><![CDATA[Sets the value of the specified comment's property.
 <p>
 You can use this resource to store a custom data against the comment identified by the key or by the id. The user
 who stores the data is required to have permissions to administer the comment.
 </p>]]></ns2:doc><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the comment property is successfully updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="201"><ns2:representation><ns2:doc><![CDATA[Returned if the comment property is successfully created.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the comment key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the comment with given key or id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getProperty" name="GET"
                        experimental="true"><ns2:doc><![CDATA[Returns the value of the property with a given key from the comment identified by the key or by the id. The user who retrieves
 the property is required to have permissions to read the comment.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation
                            element="comment-property"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"issue.support","value":{"hipchat.room.id":"support-123","support.time":"1m"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the comment property was found.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-property#","title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the comment key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to browse the comment.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the comment with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/reindex"><ns2:doc><![CDATA[REST resource for starting/stopping/querying indexing.]]></ns2:doc><ns2:method
                id="reindex"
                        name="POST"><ns2:doc><![CDATA[Kicks off a reindex.  Need Admin permissions to perform this reindex.]]></ns2:doc><ns2:request><ns2:param
                        name="type" style="query" type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Case insensitive String indicating type of reindex.  If omitted, then defaults to BACKGROUND_PREFERRED.]]></ns2:doc></ns2:param><ns2:param
                        name="indexComments" style="query"
                        type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Indicates that comments should also be reindexed. Not relevant for foreground reindex, where comments are always reindexed.]]></ns2:doc></ns2:param><ns2:param
                        name="indexChangeHistory" style="query"
                        type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Indicates that changeHistory should also be reindexed. Not relevant for foreground reindex, where changeHistory is always reindexed.]]></ns2:doc></ns2:param><ns2:param
                        name="indexWorklogs" style="query"
                        type="xs:boolean" default="false"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Indicates that changeHistory should also be reindexed. Not relevant for foreground reindex, where changeHistory is always reindexed.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="202"><ns2:doc><![CDATA[Response that provides a redirect to the GET.]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"progressUrl":"http://localhost:8080/jira","currentProgress":0,"currentSubTask":"Currently reindexing Change History","type":"FOREGROUND","submittedTime":"2016-03-16T04:22:36.898+0000","startTime":"2016-03-16T04:22:36.898+0000","finishTime":"2016-03-16T04:22:36.898+0000","success":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a representation of the progress of the re-index operation.]]></ns2:doc><ns2:doc><ns3:p
                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/reindex#","title":"Reindex","type":"object","properties":{"progressUrl":{"type":"string"},"currentProgress":{"type":"integer"},"currentSubTask":{"type":"string"},"type":{"type":"string","enum":["FOREGROUND","BACKGROUND","BACKGROUND_PREFFERED","BACKGROUND_PREFERRED"]},"submittedTime":{"type":"string"},"startTime":{"type":"string"},"finishTime":{"type":"string"},"success":{"type":"boolean"}},"additionalProperties":false,"required":["success"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="getReindexInfo"
                        name="GET"><ns2:doc><![CDATA[Returns information on the system reindexes.  If a reindex is currently taking place then information about this reindex is returned.
 If there is no active index task, then returns information about the latest reindex task run, otherwise returns a 404
 indicating that no reindex has taken place.]]></ns2:doc><ns2:request><ns2:param
                        name="taskId" style="query" type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of an indexing task you wish to obtain details on.  If omitted, then defaults to the standard behaviour and
               returns information on the active reindex task, or the last task to run if no reindex is taking place. .  If there is no
               reindexing task with that id then a 404 is returned.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                        status="200"><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"progressUrl":"http://localhost:8080/jira","currentProgress":0,"currentSubTask":"Currently reindexing Change History","type":"FOREGROUND","submittedTime":"2016-03-16T04:22:36.898+0000","startTime":"2016-03-16T04:22:36.898+0000","finishTime":"2016-03-16T04:22:36.898+0000","success":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a representation of the progress of the re-index operation.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/reindex#","title":"Reindex","type":"object","properties":{"progressUrl":{"type":"string"},"currentProgress":{"type":"integer"},"currentSubTask":{"type":"string"},"type":{"type":"string","enum":["FOREGROUND","BACKGROUND","BACKGROUND_PREFFERED","BACKGROUND_PREFERRED"]},"submittedTime":{"type":"string"},"startTime":{"type":"string"},"finishTime":{"type":"string"},"success":{"type":"boolean"}},"additionalProperties":false,"required":["success"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if there is no re-indexing task found]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="progress"><ns2:method id="getReindexProgress"
                            name="GET"><ns2:doc><![CDATA[Returns information on the system reindexes.  If a reindex is currently taking place then information about this reindex is returned.
 If there is no active index task, then returns information about the latest reindex task run, otherwise returns a 404
 indicating that no reindex has taken place.]]></ns2:doc><ns2:request><ns2:param
                            name="taskId" style="query" type="xs:long"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the id of an indexing task you wish to obtain details on.  If omitted, then defaults to the standard behaviour and
               returns information on the active reindex task, or the last task to run if no reindex is taking place. .  If there is no
               reindexing task with that id then a 404 is returned.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"progressUrl":"http://localhost:8080/jira","currentProgress":0,"currentSubTask":"Currently reindexing Change History","type":"FOREGROUND","submittedTime":"2016-03-16T04:22:36.898+0000","startTime":"2016-03-16T04:22:36.898+0000","finishTime":"2016-03-16T04:22:36.898+0000","success":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a representation of the progress of the re-index operation.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/reindex#","title":"Reindex","type":"object","properties":{"progressUrl":{"type":"string"},"currentProgress":{"type":"integer"},"currentSubTask":{"type":"string"},"type":{"type":"string","enum":["FOREGROUND","BACKGROUND","BACKGROUND_PREFFERED","BACKGROUND_PREFERRED"]},"submittedTime":{"type":"string"},"startTime":{"type":"string"},"finishTime":{"type":"string"},"success":{"type":"boolean"}},"additionalProperties":false,"required":["success"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:representation><ns2:doc><![CDATA[Returned if there is no re-indexing task found]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource><ns2:resource
                    path="issue"><ns2:method id="reindexIssues"
                            name="POST"><ns2:doc><![CDATA[Reindexes one or more individual issues.  Indexing is performed synchronously - the call returns when indexing of
 the issues has completed or a failure occurs.
 <p>
 Use either explicitly specified issue IDs or a JQL query to select issues to reindex.]]></ns2:doc><ns2:request><ns2:param
                            name="issueId" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the IDs or keys of one or more issues to reindex.]]></ns2:doc></ns2:param><ns2:param
                            name="indexComments" style="query"
                            type="xs:boolean" default="false"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Indicates that comments should also be reindexed.]]></ns2:doc></ns2:param><ns2:param
                            name="indexChangeHistory" style="query"
                            type="xs:boolean" default="false"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Indicates that changeHistory should also be reindexed.]]></ns2:doc></ns2:param><ns2:param
                            name="indexWorklogs" style="query"
                            type="xs:boolean" default="false"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[Indicates that changeHistory should also be reindexed.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="202"><ns2:doc><![CDATA[response indicating reindex time.]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"progressUrl":"http://localhost:8080/jira","currentProgress":0,"currentSubTask":"Currently reindexing Change History","type":"FOREGROUND","submittedTime":"2016-03-16T04:22:36.898+0000","startTime":"2016-03-16T04:22:36.898+0000","finishTime":"2016-03-16T04:22:36.898+0000","success":true}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a representation of the progress of the re-index operation.]]></ns2:doc><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/reindex#","title":"Reindex","type":"object","properties":{"progressUrl":{"type":"string"},"currentProgress":{"type":"integer"},"currentSubTask":{"type":"string"},"type":{"type":"string","enum":["FOREGROUND","BACKGROUND","BACKGROUND_PREFFERED","BACKGROUND_PREFERRED"]},"submittedTime":{"type":"string"},"startTime":{"type":"string"},"finishTime":{"type":"string"},"success":{"type":"boolean"}},"additionalProperties":false,"required":["success"]}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/jql/autocompletedata"><ns2:doc><![CDATA[Resource for auto complete data for searches.]]></ns2:doc><ns2:method
                id="getAutoComplete"
                    name="GET"><ns2:doc><![CDATA[Returns the auto complete data required for JQL searches.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[the auto complete data required for JQL searches.]]></ns2:doc><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>"{\"visibleFieldNames\": [{\"value\":\"affectedVersion\",\"displayName\":\"affectedVersion\",\"auto\":\"true\",\"orderable\":\"true\",\"searchable\":\"true\",\"operators\":[\"=\",\"!=\",\"in\",\"not in\",\"is\",\"is not\",\"&lt;\",\"&lt;=\",\"&gt;\",\"&gt;=\"],\"types\":[\"com.atlassian.jira.project.version.Version\"]},{\"value\":\"assignee\",\"displayName\":\"assignee\",\"auto\":\"true\",\"orderable\":\"true\",\"searchable\":\"true\",\"operators\":[\"!=\",\"was not in\",\"not in\",\"was not\",\"is\",\"was in\",\"was\",\"=\",\"in\",\"changed\",\"is not\"],\"types\":[\"com.atlassian.crowd.embedded.api.User\"]}],\"visibleFunctionNames\": {\"value\":\"currentLogin()\",\"displayName\":\"currentLogin()\",\"types\":[\"java.util.Date\"]},{\"value\":\"currentUser()\",\"displayName\":\"currentUser()\",\"types\":[\"com.atlassian.crowd.embedded.api.User\"]}],\"jqlReservedWords\": \"empty\",\"and\",\"or\",\"in\",\"distinct\"]}"</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The auto complete data required for JQL searches.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/auto-complete-response#","title":"Auto Complete Response","type":"object","properties":{"visibleFieldNames":{"type":"array","items":{"type":"string"}},"visibleFunctionNames":{"type":"array","items":{"type":"string"}},"jqlReservedWords":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[the auto complete data required for JQL searches.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="500"><ns2:doc><![CDATA[the auto complete data required for JQL searches.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while generating the response.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="suggestions"><ns2:method
                    id="getFieldAutoCompleteForQueryString"
                            name="GET"><ns2:doc><![CDATA[Returns auto complete suggestions for JQL search.]]></ns2:doc><ns2:request><ns2:param
                            name="fieldName" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the field name for which the suggestions are generated.]]></ns2:doc></ns2:param><ns2:param
                            name="fieldValue" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the portion of the field value that has already been provided by the user.]]></ns2:doc></ns2:param><ns2:param
                            name="predicateName" style="query"
                            type="xs:string"
                            xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the predicate for which the suggestions are generated. Suggestions are generated only for: "by", "from" and "to".]]></ns2:doc></ns2:param><ns2:param
                            name="predicateValue" style="query"
                            type="xs:string"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the portion of the predicate value that has already been provided by the user.]]></ns2:doc></ns2:param></ns2:request><ns2:response
                            status="200"><ns2:doc><![CDATA[a Response containing a list of {@link com.atlassian.jira.rest.v1.jql.AutoCompleteResource.AutoCompleteResultBean}'s containing the matching autocomplete values]]></ns2:doc><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"results":[{"value":"ActiveObjects","displayName":"&lt;b&gt;Ac&lt;/b&gt;tiveObjects (AO)"},{"value":"Atlassian Connect","displayName":"Atlassian Connect (&lt;b&gt;AC&lt;/b&gt;)"},{"value":"Atlassian Connect in JIRA","displayName":"Atlassian Connect in JIRA (&lt;b&gt;AC&lt;/b&gt;JIRA)"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[The autocompletion suggestions for JQL search.]]></ns2:doc><ns2:doc><ns3:p
            xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/auto-complete-result-wrapper#","title":"Auto Complete Result Wrapper","type":"object","properties":{"results":{"type":"array","items":{"title":"Auto Complete Result","type":"object","properties":{"value":{"type":"string"},"displayName":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/projectCategory"><ns2:method
                id="getAllProjectCategories"
                    name="GET"><ns2:doc><![CDATA[Returns all project categories]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[all project categories]]></ns2:doc><ns2:representation
                        element="projectCategories"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>[{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"},{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10001","id":"10001","name":"SECOND","description":"Second Project Category"}]</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returns a list of project categories.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/list-of-project-category#","title":"List of Project Category","type":"array","items":{"title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false}}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="500"><ns2:doc><![CDATA[all project categories]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if an error occurs while retrieving the list of projects.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                id="createProjectCategory"
                        name="POST"><ns2:doc><![CDATA[Create a project category via POST.]]></ns2:doc><ns2:request><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"CREATED","description":"Created Project Category"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-category#","title":"Project Category","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                        status="201"><ns2:representation
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10100","id":"10100","name":"CREATED","description":"Created Project Category"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project category is created successfully.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-category#","title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the caller is not logged in so does not have permission to create project categories.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the caller is authenticated and does not have permission to create project categories (is not global admin).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="409"><ns2:representation><ns2:doc><![CDATA[Returned if a project category with the given name already exists.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="{id}"><ns2:param name="id" style="template"
                    type="xs:long"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"/><ns2:method
                    id="getProjectCategoryById"
                        name="GET"><ns2:doc><![CDATA[Contains a representation of a project category in JSON format.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a project category]]></ns2:doc><ns2:representation
                            element="projectCategory"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10000","id":"10000","name":"FIRST","description":"First Project Category"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project category exists. Contains representation of a project category in JSON format.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-category#","title":"Project Category","type":"object","properties":{"self":{"type":"string","format":"uri"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a project category]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project category does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="removeProjectCategory"
                        name="DELETE"><ns2:doc><![CDATA[Delete a project category.]]></ns2:doc><ns2:response
                        status="401"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller is not logged in so does not have permission to delete project categories.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project category is successfully deleted.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the caller is authenticated and does not have permission to delete project categories (is not global admin).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[An empty or error response.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project category does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="updateProjectCategory"
                            name="PUT"><ns2:doc><![CDATA[Modify a project category via PUT. Any fields present in the PUT will override existing values. As a convenience, if a field
 is not present, it is silently ignored.]]></ns2:doc><ns2:request><ns2:representation
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"name":"UPDATED","description":"Updated Project Category"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-category#","title":"Project Category","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:request><ns2:response
                                    status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the project category exists and the currently authenticated user has permission to edit it.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-category#","title":"Project Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                                    status="201"><ns2:representation><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"self":"http://www.example.com/jira/rest/api/2/projectCategory/10100","id":"10100","name":"UPDATED","description":"Updated Project Category"}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/project-category#","title":"Project Category","type":"object","properties":{"self":{"type":"string"},"id":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the caller is not logged in so does not have permission to change project categories.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the caller is authenticated and does not have permission to change project categories (is not global admin).]]></ns2:doc></ns2:representation></ns2:response><ns2:response
            status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the project category does not exist or the currently authenticated user does not have permission to
 view it.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource><ns2:resource
                path="api/2/project/{projectIdOrKey}/properties"><ns2:param
                name="projectIdOrKey" style="template" type="xs:string"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project from which keys will be returned.]]></ns2:doc></ns2:param><ns2:method
                id="getPropertiesKeys" name="GET"
                    experimental="true"><ns2:doc><![CDATA[Returns the keys of all properties for the project identified by the key or by the id.]]></ns2:doc><ns2:response
                        status="200"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation
                        element="project-properties-keys"
                                mediaType="application/json"><ns2:doc><ns3:p
                                xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"keys":[{"self":"http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support","key":"issue.support"}]}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project was found.]]></ns2:doc><ns2:doc><ns3:p
                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-properties-keys#","title":"Entity Properties Keys","type":"object","properties":{"keys":{"type":"array","items":{"title":"Entity Property Key","type":"object","properties":{"self":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="400"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="401"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="403"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to browse the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                status="404"><ns2:doc><![CDATA[a response containing EntityPropertiesKeysBean.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:resource
                    path="/{propertyKey}"><ns2:param name="propertyKey"
                    style="template" type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the key of the property to return.]]></ns2:doc></ns2:param><ns2:param
                    name="projectIdOrKey" style="template"
                    type="xs:string"
                    xmlns:xs="http://www.w3.org/2001/XMLSchema"><ns2:doc><![CDATA[the project from which the property will be returned.]]></ns2:doc></ns2:param><ns2:method
                    id="deleteProperty" name="DELETE"
                        experimental="true"><ns2:doc><![CDATA[Removes the property from the project identified by the key or by the id. Ths user removing the property is required
 to have permissions to administer the project.]]></ns2:doc><ns2:response
                        status="400"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="204"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project property was removed successfully.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to edit the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:doc><![CDATA[a 204 HTTP status if everything goes well.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="setProperty" name="PUT"
                        experimental="true"><ns2:doc><![CDATA[Sets the value of the specified project's property.
 <p>
 You can use this resource to store a custom data against the project identified by the key or by the id. The user
 who stores the data is required to have permissions to administer the project.
 </p>]]></ns2:doc><ns2:response
                        status="200"><ns2:representation><ns2:doc><![CDATA[Returned if the project property is successfully updated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="201"><ns2:representation><ns2:doc><![CDATA[Returned if the project property is successfully created.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:representation><ns2:doc><![CDATA[Returned if the project key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to administer the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                    status="404"><ns2:representation><ns2:doc><![CDATA[Returned if the project with given key or id does not exist.]]></ns2:doc></ns2:representation></ns2:response></ns2:method><ns2:method
                    id="getProperty" name="GET"
                        experimental="true"><ns2:doc><![CDATA[Returns the value of the property with a given key from the project identified by the key or by the id. The user who retrieves
 the property is required to have permissions to read the project.]]></ns2:doc><ns2:response
                            status="200"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation
                            element="project-property"
                                    mediaType="application/json"><ns2:doc><ns3:p
                                    xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Example</ns3:h6><ns3:pre><ns3:code>{"key":"issue.support","value":{"hipchat.room.id":"support-123","support.time":"1m"}}</ns3:code></ns3:pre></ns3:p></ns2:doc><ns2:doc><![CDATA[Returned if the project property was found.]]></ns2:doc><ns2:doc><ns3:p
                        xmlns:ns3="http://www.w3.org/1999/xhtml"><ns3:h6>Schema</ns3:h6><ns3:pre><ns3:code>{"id":"https://docs.atlassian.com/jira/REST/schema/entity-property#","title":"Entity Property","type":"object","properties":{"key":{"type":"string"},"value":{}},"additionalProperties":false}</ns3:code></ns3:pre></ns3:p></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="400"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project key or id is invalid.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="401"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user is not authenticated.]]></ns2:doc></ns2:representation></ns2:response><ns2:response
                        status="403"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the calling user does not have permission to browse the project.]]></ns2:doc></ns2:representation></ns2:response><ns2:response status="404"><ns2:doc><![CDATA[a response containing {@link com.atlassian.jira.issue.fields.rest.json.beans.EntityPropertyBean}.]]></ns2:doc><ns2:representation><ns2:doc><![CDATA[Returned if the project with given key or id does not exist or if the property with given key is not found.]]></ns2:doc></ns2:representation></ns2:response></ns2:method></ns2:resource></ns2:resource></ns2:resources></ns2:application>
