官术网_书友最值得收藏!

Creating a new screen

JIRA comes with three screens by default—Default Screen, Resolve Issue Screen, and Workflow Screen.

In this recipe, we will look at how to create a new screen from scratch and then make it appear when we are creating a new issue of type Task.

How to do it…

The screen is one of the most complicated configurations in JIRA. To create a new screen and apply it often requires you to configure multiple schemes. So we will break these steps into three logical groups.

Firstly, we need to create our new screen:

  1. Log in to JIRA as a JIRA administrator.
  2. Navigate to Administration | Issues | Screens.
  3. Click on the Add Screen button, name the new screen Task Create Screen, and click on Add.
  4. Select and add the Summary, Issue Type, Description, Assignee, and Reporter fields, as shown in the following screenshot:

Secondly, we need to assign the new Task Create Screen to the Create Issue operation:

  1. Navigate to Administration | Issues | Screen Schemes.
  2. Click on the Add Screen Scheme button, name the new screen Task Screen Scheme, select Default Screen as the Default Screen option, and click on Add.
  3. Click on the Associate an Issue Operation with a Screen button.
  4. Select Create Issue for Issue Operation, Task Create Screen for Screen, and click on Add, as shown in the following screenshot:

Third, we need to assign the new Task Screen Scheme to the Task issue type:

  1. Navigate to Administration | Issues | Issue Type Screen Schemes.
  2. Click on the Add Issue Type Screen Scheme button, and call the new screen Task Issue Type Screen Scheme.
  3. Select Default Screen Scheme as the Screen Scheme option and click on Add.
  4. Click on the Associate an Issue Type with a Screen Scheme button.
  5. Select Task for Issue Type, Task Screen Scheme for Screen Scheme, and click on Add, as shown in the following screenshot:

Lastly, we need to apply the new screen Task Issue Type Screen Scheme to the project:

  1. Navigate to Administration | Projects.
  2. Select a project from the list.
  3. Select Screens from the left-hand side panel.
  4. Navigate to Actions | Use a different scheme.
  5. Select the new Task Issue Type Screen Scheme and click on Associate.

How it works…

The screen is one of the most confusing aspects of JIRA configuration. When we create a new screen, we need to associate it with one of the three issue operations (create, edit, and view) with screen scheme. As in our recipe, we associated our new Task Create Screen with the Create Issue operation.

Screen schemes then need to be associated with issue types, so that JIRA can determine which screen scheme to use based on the selected issue type.

Lastly, we apply the issue type screen scheme to a project, so only the selected projects will have the screens associated. The following diagram provides a comprehensive illustration of the relationships between screens, fields, and their various schemes:

Reference/Credit from https://confluence.atlassian.com/display/JIRA/Configuring+Fields+and+Screens

主站蜘蛛池模板: 濉溪县| 枝江市| 富顺县| 聂拉木县| 诸城市| 建昌县| 玉树县| 通河县| 万州区| 高碑店市| 什邡市| 韩城市| 林甸县| 栾川县| 新津县| 教育| 北安市| 鄂尔多斯市| 甘肃省| 土默特右旗| 菏泽市| 南木林县| 龙游县| 邵武市| 上林县| 九龙城区| 永年县| 绥滨县| 门头沟区| 五莲县| 哈尔滨市| 石城县| 明光市| 碌曲县| 济南市| 集贤县| 兴义市| 枣庄市| 特克斯县| 巴中市| 漳平市|