Versions Compared

Key

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

...

Panel
borderStylesolid

Parent

  • Field name : Parent

  • Key: parent

  • Description : The Parent field is an object representing the parent of the issue.

  • Structure :

    Expand
    titleClick here to see the structure of Parent field


    Section


    Column


    Code Block
    titleStructure
    linenumberstrue
    "issue":
    {
    	...
    	...
    	"fields":
    	{
    		...
    		...
    		"parent":
    		{
    			"id":String, //Id of the parent issue
    			"key":String, //Key of the parent issue
    			"self":String, //URL of the parent issue
    			"fields":
    			{
    				"summary":String, //Summary of the parent issue
    				"status":
    				{
    					"self":String, //URL of the status
    					"iconUrl":String, //Icon URL of the status
    					"name":String, //Name of the status
    					"id":String, //Id of the status
    					"statusCategory":
    					{
    						"self":String, //Status category of the status
    						"id":String, //ID of the status category
    						"key":String, //Key of the status category
    						"colorName":String, //Color of the status category
    						"name":String, //Name of the status category
    					}
    				}
    		...
    	},
    	...
    }



    Column
    width700px


    Code Block
    titleExample
    linenumberstrue
    "issue":
    {
    	...
    	...
    	"fields":
    	{
    		...
    		...
    		"parent":
    		{
    			"id":"34701",
    			"key":"TEST-860",
    			"self":"https://jmwe-test-2.atlassian.net/rest/api/2/issue/34701",
    			"fields":
    			{
    				"summary":"Parent Issue",
    				"status":
    				{
    					"self":"https://jmwe-test-2.atlassian.net/rest/api/2/status/10000","description":"",
    					"iconUrl":"https://jmwe-test-2.atlassian.net/images/icons/status_generic.gif",
    					"name":"To Do",
    					"id":"10000",
    					"statusCategory":
    					{
    						"self":"https://jmwe-test-2.atlassian.net/rest/api/2/statuscategory/2",
    						"id":2,
    						"key":"new",
    						"colorName":"blue-gray",
    						"name":"To Do"
    					}
    				}
    		...
    		},
    	...
    	}
    ...
    }





  • Accessing the Priority Parent field
    • Summary of the parent issue : {{ issue.fields.parent.fields.priority.name summary }}

    • Key of the parent issue : {{ issue.fields.parent.key }}
    • Id of the parent issue : {{ issue.fields.parent.id }}


Panel
borderStylesolid

Priority

  • Field name : Priority

  • Key: priority

  • Description : The Priority field is an object describing the priority of the issue.

  • Structure :

    Expand
    titleClick here to see the structure of Priority field


    Section


    Column


    Code Block
    titleStructure
    linenumberstrue
    "issue":
    {
    	...
    	...
    	"fields":
    	{
    		...
    		...
    		"priority:
            {
                "self":String, //URL of the priority of the issue
                "iconUrl":String, //URL of the priority icon
                "name":String, //Name of the priority
                "id":String //ID of the priority
            },
    		...
    	},
    	...
    }



    Column
    width700px


    Code Block
    titleExample
    linenumberstrue
    "issue":
    {
    	...
    	...
    	"fields":
    	{
    		...
    		...
    		"priority":
    		{
    			"self":"https://jmwe-test-2.atlassian.net/rest/api/2/priority/3",
    			"iconUrl":"https://jmwe-test-2.atlassian.net/images/icons/priorities/medium.svg",
    			"name":"Medium",
    			"id":"3"
    		}
    		...
    	}
    	...
    }





  • Accessing the Priority field
    • Name of the Priority of the issue : {{ issue.fields.priority.name }}

    • ID of the Priority of the issue : {{ issue.fields.priority.id }}

...