The ‘Post' function is a new addition to the existing 'Apply Template’ feature. Using the Post Function you can automate the process of applying the Templates
Adding the Post function for the Jira project
The Post Function for applying Templates can be used only in the Jira Software Company-managed projects
To add the Post Function for Applying the Templates:
-
Open the Jira COmany-managed Project for which you want to add the Post Function
-
Click the ‘Project settings’ on the left side navigation panel
-
Click the ‘Workflows'
-
Click on the ‘pencil’ icon in the ‘Actions’ column to Edit the workflow
-
Click on the ‘Diagram’ option
-
Select the status to which you want to add the Post Function
-
Click on the ‘arrow’ for this status
-
Click on the ‘Post Functions’ section
-
Click the ‘Add post function’
-
Select the ‘SITC Apply Template’ post function from the list
-
Click the ‘Add’ button
Now need to Add Parameters for the Post Function
-
Select the Jira Company-managed Project for which you want to apply the Template (in this selected project will be created Jira issue)
-
Select the issue type for which the Template will be applied (this type will have the created Jira Issue after applying the Template)
-
Select the transition type
The transition type must be suitable for the status that you selected before adding the Post Function
For example:
-
status Create - suitable transition type also To Do
-
status In progress - suitable transition type also In Progress
-
status Done - suitable transition type also Done
-
Select the Template(s) that need to apply
Template picker will contain Templates that have Scope matched with the current issue, project, and issue types field and if the current user has access to the Template.
-
Click the ‘Add’ button
-
Click the ‘Publish draft' option
-
Click the ‘Publish’ button again
Now, when the Jira Issue changes the status for that was created Post Function the Template will be applied
You can create several post functions for one Jira Company-managed project. Also, the Post Function can be edited.
Editing Post Function
To edit the Post Function for Applying Templates:
-
Open the Jira Company-managed Project where the Post Function was created
-
Click the ‘Project settings’ on the left side navigation panel
-
Click the ‘Workflows'
-
Click on the ‘pencil’ icon in the ‘Actions’ column to Edit the workflow
-
Click on the ‘Diagram’ option
-
Select the status to which you want to add the Post Function
-
Click on the ‘arrow’ for this status
-
Click on the ‘Post Functions’ section
-
Click the ‘Add post function’
-
Find the ‘SITC Apply Template’ post function in the list and click on the ‘pencil’ icon for editing
-
Make changes for Post Function
-
Click the ‘Update’ button
-
Click the ‘Publish draft' option
-
Click the ‘Publis’ button
Now, when the Jira Issue changes the status for that was created Post Function the Template will be applied
Deleting the Post Function from the Jira project
To delete the Post Function for Applying Templates:
-
Open the Jira Company-managed Project where the Post Function was created
-
Click the ‘Project settings’ on the left side navigation panel
-
Click the ‘Workflows'
-
Click on the ‘pencil’ icon in the ‘Actions’ column to Edit the workflow
-
Click on the ‘Diagram’ option
-
Select the status that was selected for the created Post Function
-
Click on the ‘arrow’ for this status
-
Click on the ‘Post Functions’ section
-
Find the ‘SITC Apply Template’ post function in the list
-
Click on the ‘cross’ icon to delete
-
Click the ‘Publish draft' option
The Post Function was deleted