I created a rule which creates a number of subtasks when an issue meeting JQL conditions is created.
JIRA Automation has logic built-in to allow subtask creation which should copy field values from the parent, but I have not been able to get this to work correctly.
I have verified the custom fields I am copying values from the parent onto the subtask have the required issue types/project in the context.
When the rule runs (currently the trigger is manual for testing), the audit provides the following:
Hi @JM ,
the current issue and trigger issue are the same in this case, so this should not matter.
However, you are setting the fields as well, before creating the sub-task (and thus, before it even has a parent).
Map the fields employee name,... to the trigger issue as well, (same as you do with the parent issue field). Then it wil copy the values and create the subtask correctly.
Hope this helps.
- Tessa
Hi Tessa,
Thanks for your response. I understand current issue / trigger are the same, was just looking to test any variation to see if I could enrich the subtasks successfully.
I don't quite follow what you're suggesting. The two fields I attempted to copy from the parent are present at issue creation on the parent. Where would I map them from the trigger? Or should I just create a second rule to copy the values from parent since copying values at subtask creation fails
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @JM ,
no worries, I'm going to list my assumptions and the conclusions I made, please lt me know if any are wrong ;)
When the info is looked up, the sub-task isn't created yet, so it doesn't have a parent yet, but it still knows the trigger issue. You can use that existing link to get you info.
It would look like this:
Please let me know if I mis understood this.
- Tessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @JM ,
I got notified of your like, nice to track back to this question!
Has it worked out for you?
If so, please do not hesitate to still accept the answer so others can find solutions to similar problems easier.
Have a great day!
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.