页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

 

Prerequisition

To ensure PAP workflow working properly, three custom fields have to be created

 

提示

In this example, we will choose approver from selected project roles. Please don't set 'Approver' custom field show in create/edit screen and don't make it as required.

 

Steps:

  1. Add a new workflow

Log in as JIRA administrator

Click cog icon > Issues > workflow

Click 'add workflow' button

2.  When user submits a JIRA issue, project roles will be selected as 'Approver'.

Click 'Create'

Click <Result> page and use project roles as 'Approver'.

Image Added

 

 

提示
The process can become too complicated if too many approvers are selected. In this page, you can limit total approver number by setting maximum project role number. Default number is 5.

 

3.Configure PAP workflow

 

Step: 

状态
colourBlue
titleOpen

Status: To Do

Transition ActionTarget StepScreenConditionsValidationsPost FunctionsRemark 
Submit
状态
subtletrue
colourYellow
titleWaiting for Approve
Workflow ScreenOnly Reporter Condition    
Cancel
状态
subtletrue
colourGreen
titledone
Workflow ScreenOnly Reporter Condition Update Issue Field: Set Resolution = Rejected  

 

 

Step:

状态
colourYellow
titlewaiting for approve

Status:Waiting for Approval 

Transition ActionTarget StepScreenConditionsValidationsPost FunctionsScreenshot of Post Function
Agree
状态
subtletrue
colourYellow
titleWaiting for approve
Workflow Screen(

...

Parallel Approval Process) User in Approvers Field(

...

Parallel Approval Process) Commnet is required(

...

Parallel Approval Process) AGREE

...

Image Added
Reject
状态
subtletrue
colourGreen
titledone
Workflow Screen(

...

Parallel Approval Process) User in Approvers Field(

...

Parallel Approval Process) Commnet is required(

...

Parallel Approval Process) REJECT

...

Image Added
Pass (Auto)
状态
subtletrue
colourGreen
titledone
Workflow Screen(

...

Parallel Approval Process) Hide transition

...

(减号) Do not set any validations for this actionUpdate Issue Field: Set Resolution = Done 

 

 

Step:

状态
colourGreen
titledone

Status:Done