# JIRA管理使用——工作流（5）

**URL:** <https://www.isharkfly.com/t/jira-5/11411>\
**Category:** 敏捷开发\
**Created:** [August 23, 2012, 1:15am UTC](https://www.isharkfly.com/t/jira-5/11411 "2012-08-23T01:15:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [August 23, 2012, 1:15am UTC](https://www.isharkfly.com/t/jira-5/11411/1 "2012-08-23T01:15:21Z")

</div>

本帖最后由 天堂无门 于 2012-8-23 09:32 编辑

Global Settings—\>Workflows，点击Workflows进入到页面，如下图  
 ![](https://www.isharkfly.com/images/transparent.png)

上面图中已经存在一个默认的jira工作流和一个创建好的develop flows工作流，默认jira工作流是不可以删除的。下面创建一个新的工作流步骤：  
注：制作工作流最重要的是根据自己公司的测试规范制定，有的可能比较复杂，有点可能比较简单，适合的才是最好的。

![](https://www.isharkfly.com/images/transparent.png)

工作流图画出以后，下面就是根据图进行增加工作流了：

1、入工作流name和description，如下图：  
 ![](https://www.isharkfly.com/images/transparent.png)

2、点击add后，，如下图页面，点击workflows工作流那行的steps链接  
 ![](https://www.isharkfly.com/images/transparent.png)

3、点击steps链接后，进入下面页面，然后根据  
新建—\>打开  
打开—\>指派  
打开—\>推迟  
打开—\>已解决  
打开—\>不是问题  
推迟—\>指派  
指派—\>已解决  
已解决—\>重开  
上面的状态都是Issue Settings—\>Statuses中进行定义状态的。  
 ![](https://www.isharkfly.com/images/transparent.png)

![](https://www.isharkfly.com/images/transparent.png)

4、到workflows进行页面设置：  
 ![](https://www.isharkfly.com/images/transparent.png)

5、 在上图先按照工作流图进行添加完成：  
 ![](https://www.isharkfly.com/images/transparent.png)

6、 添加完成后，进行状态转变设置，在下图中，点击Add Transition按钮  
 ![](https://www.isharkfly.com/images/transparent.png)

其他的按照上面进行操作。  
7、 Transition view: 这里总共有四个选项  
 ![](https://www.isharkfly.com/images/transparent.png)  
NO VIEW FOR transition 事务触发后不会有任何页面跳出  
Default Screen 跳出一个和创建BUG差不多的页面  
Resolve Issue Screen 跳出一个解决问题的页面  
Workflow Screen 跳出一个问题分配的页面

8、 工作流设置完成后，还要在项目中应用到该工作流才算完成。  
新建一个项目：在Projects—\>Projects页面中，点击Add Project  
 ![](https://www.isharkfly.com/images/transparent.png)

填写完成后。  
 ![](https://www.isharkfly.com/images/transparent.png)

点击图中选择的”select scheme”  
 ![](https://www.isharkfly.com/images/transparent.png)

选择刚刚创建的scheme，点击Associate按钮，进入第二步骤  
 ![](https://www.isharkfly.com/images/transparent.png)

在次点击Associate按钮，OK，工作流已经配置到”测试”项目中去了  
 ![](https://www.isharkfly.com/images/transparent.png)  
注：不同版本的JIRA可能有些操作步骤不同，但大致情况是这样一个流程。
