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 }}

...

Panel
borderStylesolid

Project

  • Field name : Project

  • Key: project

  • DescriptionThe Project field is an object describing the selected project.

  • Structure :

    Expand
    titleClick here to see the structure of Progress Project field


    Section


    Column


    Code Block
    titleStructure
    linenumberstrue
    "issue":
    {
    	...
    	...
    	"fields":
    	{
    		...
    		...
    		"project":
            {
                "self":String, //URL of the project.
                "id":String, //ID of the project.
                "key":String, //Key of the project.
                "name":String, //Name of the project.
                "avatarUrls": //URL of the project avatar
                {
                    "48x48":String, 
                    "24x24":String, 
                    "16x16":String,
                    "32x32":String,
                }
            },
    		...
    	},
    	...
    }



    Column
    width700px


    Code Block
    titleExample
    linenumberstrue
    "issue":
    {
    	...
    	...
    	"fields":
    	{
    		...
    		...
    		"project":
    		{
    			"self":"https://jmwe-test-2.atlassian.net/rest/api/2/project/10000",
    			"id":"10000",
    			"key":"TEST",
    			"name":"Test",
    			"avatarUrls":
    			{
    				"48x48":"https://jmwe-test-2.atlassian.net/secure/projectavatar?avatarId=10324",
    				"24x24":"https://jmwe-test-2.atlassian.net/secure/projectavatar?size=small&avatarId=10324",
    				"16x16":"https://jmwe-test-2.atlassian.net/secure/projectavatar?size=xsmall&avatarId=10324",
    				"32x32":"https://jmwe-test-2.atlassian.net/secure/projectavatar?size=medium&avatarId=10324"
    			}
    		}
    		...
    	}
    	...
    }





  • Accessing the Project field
    • Name of the project the issue belongs to : {{ issue.fields.project.name }}

    • Key of the project the issue belongs to : {{ issue.fields.project.key}}

...