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

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

主站蜘蛛池模板: 黔西| 陆良县| 台南市| 杭锦后旗| 隆化县| 柏乡县| 武山县| 昂仁县| 宣汉县| 永州市| 涞水县| 内江市| 闵行区| 西安市| 新宁县| 靖宇县| 那曲县| 故城县| 保康县| 会宁县| 栾城县| 井冈山市| 安多县| 峨边| 依兰县| 广安市| 沾益县| 澎湖县| 乌海市| 大荔县| 丰宁| 海淀区| 江源县| 黑山县| 徐水县| 镇原县| 三河市| 望奎县| 浙江省| 土默特左旗| 内乡县|