Updating the Jira alert for scenarios where we need to create subtask (child issues) within existing tasks. #1417
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Problem:
I have a needs create a subtask (child issues) under task, bug, story, epic to keep it under one track.
Solution:
I have extend jira capabilities with a new parameter which help to do that.
By default, it’s off.
jira_parent: Specify an existing ticket that will be used as a parent to create a new subtask in it
For example, if you have this issue hierarchy:
Epic
Story, Task, Bug
Subtask
Then:
As a parent issue, an epic can have stories, tasks, and bugs as subtask (child issues).
As a parent issues, task, stories and bugs can have subtasks as subtask (child issues).
A subtask can’t have any subtask (child issues).
Example usage::
jira_server: "https://example.atlassian.net/"
jira_project: "XXX"
jira_assignee: user@example.com
jira_issuetype: "Sub-task"
jira_parent: "XXX-3164"
Checklist
make test-docker
with my changes.Questions or Comments