Cancel an issue and cancel child subtasks.

Marshall Crowe January 31, 2013

I am searching for a workflow function that will confer the status of a 'Cancelled' parent issue to all of its child sub tasks. Is anyone aware of how this can be configured please?

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Fidel Castro
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

Hi Marshall,

You can do it using post-function "Write field on linked issues or subtasks" of plugin JIRA Workflow Toolbox. This post-function allows field "Resolution" of subtasks to be set with a desired value, or you can also trigger a transition in subtasks to move them through the workflow to a desired status.

In your case I suppose you need to move the subtasks from a current status to another one called "Cancelled" through an existing transition in the workflow. To do it you need two actions:

Action 1: Using post-function "Copy a parsed text to a field" we write the name of the desired status (Cancelled) to an auxiliary field called "Ephemeral string 1".

Action 2: You use post-function "Write field on linked issues or subtasks" to write the value of auxiliary field "Ephemeral string 1" to virtual field "Issue status" in all subtasks of current issue.

Once configured the transition looks like this:

Regards,

Fidel.

Deleted user December 19, 2017

Well, I am having a question in between.

What should I do if I want to move or change a Task status to 'Cancelled'. (I am not concerned about sub-tasks.) Following is what I get when I view workflow.

1.PNG

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 19, 2017

Asking a new question as a response to a 4 year old post is not going to get you much.

I suggest you re-post as a new question for a wider audience and more relevant response.

0 votes
Fidel Castro
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2014

It seem's that pictures in my former post are missing, so I have added a post in JIRA Workflow Toolbox documentation site explaining this use case: Automatically Cancel subtasks when Parent issue is cancelled.

This a specific example of a more general use case: Automatically transition Subtasks to certain Status when Parent Issue is transitioned to another status.

Regards,

Fidel

 

0 votes
Marshall Crowe February 3, 2013

Fidel,

Excellent suport. Many thanks for a clear answer to my issue.

Regards.

Marshall

TAGS
AUG Leaders

Atlassian Community Events