Using Datacenter 8.20.
Subtask -- wrkflw --- "Change Accep" to "Delivered"
Parent issue wrkflw --- "Baselined" to "Retired"
The below 2 points A) and B) should be achieved when the status is in "Delivered" (Sub-task)
A)
In this it should satisfy 2 conditions before Copying the fields from current issue (sub-task) to the parent issue.
1st Condition -- parent issue status should be in "Baselined" and in issuetype "ABC"
(where ABC is the issuetype in Parent issue)
2nd Condition : the status of sub-task should be "Delivered"
if these 2 conditions satisfies fields values to be copied to "Parent" From "Sub-task"
B) Also, there is a custom field called "Retired" (it is a drop down with options "true" or false") in the Sub-task issue.
Once "A" (Above copying field values) are done.
the value of "Retired" Custom field in the sub-task should be checked.
1st Condition -- If "true" then automatically status should move from "Baselined" to "Retired" (This is in Parent issue transition)