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

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

主站蜘蛛池模板: 灵璧县| 图片| 中宁县| 巴中市| 南皮县| 韶山市| 天峨县| 万全县| 肇东市| 绥宁县| 伽师县| 永吉县| 应城市| 博湖县| 合川市| 文登市| 汉源县| 阿勒泰市| 大余县| 汉中市| 临泽县| 连山| 长春市| 义乌市| 资兴市| 夹江县| 合川市| 襄城县| 卢龙县| 应用必备| 诸暨市| 桐梓县| 西峡县| 苗栗县| 长宁区| 观塘区| 阿勒泰市| 锦屏县| 山阴县| 屏山县| 瑞昌市|