页面树结构

 

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'.

 

 

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: OPEN

Status: To Do

Transition ActionTarget StepScreenConditionsValidationsPost FunctionsRemark 
SubmitWAITING FOR APPROVEWorkflow ScreenOnly Reporter Condition    
CancelDONEWorkflow ScreenOnly Reporter Condition Update Issue Field: Set Resolution = Rejected  

 

 

Step:WAITING FOR APPROVE
Status:Waiting for Approval 

Transition ActionTarget StepScreenConditionsValidationsPost FunctionsScreenshot of Post Function
AgreeWAITING FOR APPROVEWorkflow Screen(Parallel Approval Process) User in Approvers Field(Parallel Approval Process) Commnet is required(Parallel Approval Process) AGREE
RejectDONEWorkflow Screen(Parallel Approval Process) User in Approvers Field(Parallel Approval Process) Commnet is required(Parallel Approval Process) REJECT
Pass (Auto)DONEWorkflow Screen(Parallel Approval Process) Hide transition(减号) Do not set any validations for this actionUpdate Issue Field: Set Resolution = Done 

 

 

Step:DONE
Status:Done

  • 无标签