Hello,
Here are some details about the issue structure that we're using as foundation for my question:
Parent-Task:
- "Projektsteckbrief"
Subtasks:
- "Projektfreigabe"
- "Projektabschlussbericht"
- "Projektkennzahlen"
1. Question:
I'm trying to set up an automation that creates a subtasks based on the information of a previous subtask in an issue.
I want to create the subtask "Projektabschlussbericht" based on the information in the other subtask "Projektfreigabe". In case there is more than one subtask of the type "Projektfreigabe", I want to use the information from the most recently created "Projektfreigabe"-issue.
I couldn't find a way to relate to the information in the most recent "Projektfreigabe"-issue.
2. Question:
The subtask "Projektfreigabe" is created with information from the parent task "Projektsteckbrief". Now, when the parent task "Projektsteckbrief" includes a subtask of the type "Projektkennzahlen", I want it to be linked as a related issue in the "Projektfreigabe" issue.
I did find an option to clone the "related issues", but this doesn't help as it would 1. clone the links to all related issues and not only the "Projektkennzahlen" and 2. this only works for related issues, but not for subtasks.
How would you solve this?
Does anyone know a solution for these problems?
Kind regards
DRKADM
Here you might use the Automation rule there you can create subtasks and in the addition field you can write logic and take information from previous subtask and make changes in that and update it for subtask. Here you need to explore more.
Option2: If you have script runner field then you can write scripted postfunciton for subtask creation there you can write script to take the information of previous subtask and update
Thank you very much @Sachin Dhamale - while we weren't able to use your exact suggestion, it still helped us with another case we were looking at.
We also found a solution to both our problems. Instead of using the "create issue"-action, we've used a JQL to find the sub-task of the issuetype we needed and then used the "clone"-action, just with another issuetype.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.