Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How do I create an automation to cancel parent tickets & subtasks be set into another status?

I am looking at how to create an automation for already Canceled parent tickets. 

I want to take the currently Canceled parent tickets and get all the subtasks to be set into a "Review Unnecessary" status. 

Project = Launch Tracker

Parent Issue Type = Feature Launch Tracker

Subtask issue type = 'sub-task' + 'Eng Launch sub-task' + 'Quality Eng Testing'

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 25, 2023

Hello @tbundy 

Have you tried to construct this automation rule? What do you have so far?

You could use a Schedule trigger with a JQL statement to select all the Feature Launch Tracker type issues that are in the Canceled status.

You could then add a For Each: Related Issues: Sub-tasks step to select all the sub-tasks of each issue retrieved by the trigger.

Within the For Each branch you would then add a Transition Issue action to change the sub-task issue status to "Review Unnecessary".

Note that each sub-tasks needs to be in a status currently where the transition to "Review Unnecessary" is valid. If there are statuses where that transition would not be valid, then you may want to add a Condition inside the For Each to check the status of the sub-tasks, and then execute the transition only if it would be valid.

 

TRIGGER: Schedule
JQL: project="Launch Tracker" and issuetype="Feature Launch Tracker" and status=Canceled
FOR EACH: Sub-task
CONDITION: Issue Field Condition
Field: Issue Type
Condition: is one of
Value: (the values from which a transition to "Review Unnecessary" would be valid)
ACTION: Transition Issue
Destination Status: Review Unnecessary

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events