If one issue is transitioned to resolved for one issue type then it should close other issue type.
For example i have two issuetypes story and task, i need a rule that when story gets closed, task should automatically closed after 20 days only not before that. both issuetypes using separate workflows.