Versions Compared

Key

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

...

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

...