Div |
---|
|
On this page Table of Contents |
---|
maxLevel | 2 |
---|
exclude | On this page |
---|
type | flat |
---|
separator | pipe |
---|
|
|
...
This configuration screen allows you to define the conditions under which you will create the Issue. The screen also provides additional configuration options, such as JQL input, the acting user, etc.
Example
In this scenario, we will introduce a new Create Issue workflow post function to a transition step within an existing workflow.
Background
Our scenario will use an example ePub workflow that helps teams coordinate the publication of electronic books. While transitioning from the "Open" to "In Draft" steps, we will create a new issue within a specific IT Services project in our Jira instance. This will create an Issue in the backlog of our Digital Publication team, so their manager can begin forecast and assign resources.
Steps
Table plus |
---|
border | 0 |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
columnAttributes | style="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=30%;max-width=30% !important;" |
---|
id | steps_table |
---|
enableSorting | false |
---|
enableHighlighting | false |
---|
|
| Isolate the Workflow Transitions (id) for new Create Issue Post FunctionLogged into Jira as a workflow administrator: - Navigate to Project Settings → Workflows.
- Under the Actions navigation, click on Edit.
- Using the editor in "text" mode, click on the link name of the Transitions (id) that you will introduce
a Create Issue Post function against.
| |
| | Add Post Function- Select the Post Functions tab
Click on the "Add post function" like (right-hand side of dialog). - Select the "Create Issue" radio button.
- Click the "Add" button listed blow the options.
|
|
| | Define Issue Fields- Within the "Basic Fields" section:
- Keep the default Summary as "%parent_summary%", so we inherit the same summary
as the parent issue. - Set the Description field to "FYI - ePub sub-task workflow initiated"
Navigate to the "Detailed Fields" section: - Under Details:
- Set the Project to our example "IT Services (IS)" project.Set the Issue Type to "Service Request" New-Sub-Task"
- Under People:
- Keep the Reporter as "Current user"
- Keep the Assignee as "Parent issue's assignee"
- Under Links:
- Set the Create links value to "Parent issue key"
- Set the Create link type value to "relates"
- Set the Create link direction to "Issue key to new issue"
- Navigate to the Comments & Attachments section:
- Under Comments:
- Add the following new Comment: "This issue was automatically created"
- Click on the "Add" button at the bottom of the screen.
| Image RemovedImage Added View configuration Image RemovedImage Added
|
| | Publish and Validate Post Function- Click on the "Publish Draft" button to publish changes to your workflow and activate
the Create Issue post function. - Backing up your workflow ahead of publishing is always a good idea. However, in this case
we will simply publish without a backup. - Navigate to your Project in Jira. In our case, we will navigate to the ePub project.
- Create a new Issue and then transition to the step where your new Create Issue Sub-task post function
is configured. In our case, this is the In Draft step. - Search for new Issues within your project.
- You should see the new Issue automatically created with the values you defined in the previous step.
| Image RemovedImage Added |
|
Explore Configuration Settings
...