Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

This document explains how to access the details

...

of issue

...

 and transition

...

 objects, such as those available through the issue

...

 and transition

...

 variables. To see an example of the structure of an issue go to <base_URL_of_

...

Jira>/rest/api/latest/issue/{issueKey}. The fields displayed through this REST API actually depend on the fields set on the issue. 


Structure of an issue object

An issue object consists of the issue key and a collection of fields. The structure of the issue object (such as those available through the issue, sourceIssue and linkedIssue variables) is the same as that returned by the /rest/api/latest/issue REST resource documented here

Panel
borderStylesolid

issue object

  • Description: The issue object is an object with the following fields.

  • Structure :

    Expand
    titleClick here to see the structure of issue variable


    Section


    Column


    Code Block
    titleStructure
    linenumberstrue
    {
        "expand": String, //Parts of response
        "id":String, //ID of the issue.
        "self":String, //URL of the issue.
        "key":String, //Key of the issue.
        "fields": 
        {
    		...
    		...
    	}
    }



    Column
    width700px


    Code Block
    titleExample
    linenumberstrue
    {
        "expand":"renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
    	"id":"30101",
    	"self":"https://jmwe-test-2.atlassian.net/rest/api/latest/issue/30101",
    	"key":"TEST-628",
    	"fields":
        {
    		...
    		...
    	}
    }





Accessing issue details using Nunjucks

...