If a issue has been in the status of "completed", then add a new "sub-task" to it. The issue's status should automatically be changed to "inprogress". But now, it still in status of "completed".how to config this?
You can do as suggested by Nic, or you can write a script in the post function of create transition which validates that the current issue is a sub-task of project X and if it's parent is in state "complteted" then to transition the parent to "in-progress"
You probably need to find/write a "listener" that can pick up "issue created", read the new issue, check the parent issue matches the criteria and then tell the issue to go through the transition from completed to in-progress.
Thank you for reply . I have added a post function on create transition . The name of this function is "Transition parent issue" , but it doesn't work ,any suggestion??
How have you configured it? You must need to do some, as you need to tell it what transition to run, and youhaven't told us how you've configured it.
Hi Xin,
In the "Transition parent issue" postfunction provide the transition ID of workflow of parent which is from the status of "completed" to "In progress"
Fix it , the relationship between issue and parent issue is not "parent" , is linkd , so we need to add a "Transition linked issues" post function and the "Conditional execution" is linkedIssue.get("status").getName() == "Completed"
It looks like you're new here. Sign in or register to get started.