Automation of merged pull request in a parent task to update a sub task

eric caprio August 29, 2024

In a company based software project, the flow is a story is created. When it is moved to Code Review status, a sub-task Code Review is created. The below is an attempt at automating the transition to Done for the sub-task Code Review when a PR is merged in the parent task. This is to ensure tasks are up to date as developers may not go into JIRA to close the sub task after merging the PR.

 

I am getting an error back... it does look like the sub-task QA INV-760 did get closed. Not sure if the error is in relation to the previous code review task which was already closed. The flow when failed QA, will complete the sub-task QA - moves parent back to in progress - which creates another sub-task code review when parent task has the new or adjusted PR

 

Any insight would be great!

 

Screenshot 2024-08-29 at 9.28.27 PM.pngScreenshot 2024-08-29 at 9.28.45 PM.pngScreenshot 2024-08-29 at 9.34.23 PM.png

1 answer

0 votes
Lígia Zanchet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 5, 2024

Hello eric


Here’s a more polished and business-friendly version:

Welcome to our community! We’re delighted to have you here.

Regarding the error message you're encountering, here are two quick steps to help you troubleshoot:

First, verify if there's a transition between the current status of subtask 693 and the "Done" status. An easy way to check is by opening subtask 693 and attempting to manually move it to "Done." If no transitions are available, you may need to create one—either a general transition to "Done" or a specific one from the current status to "Done."

If the transition exists and you can see it in step 1, the next step is to check if there are any validators or conditions preventing the rule actor (Automation for Jira) from executing that transition.

For more information on workflow transitions, you can refer to this link


Hope that helps 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events