Trying to create subtasks where the parent task is a service request using automation for jira, it works when i create a new task but doesn't work when i set the create new issue as a sub tasks, so rule validation is all green but it gives me the following error when i execute it
It looks like your automation rule is missing a reference to the parent issue when creating the subtask. In Jira, a subtask must always be linked to a parent issue, and the error suggests that this reference isn't being set correctly.
Make sure the "Parent Issue" field is set to "Trigger Issue" (or use {{triggerIssue.key}} in the field if needed).
Maybe it'll help if you could share a screenshot of your current rule configuration to analyze this further.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As your rule has a scheduled trigger, switch value of field "Parent" to "Current Issue" for all Sub-Tasks. As you first create a Service Request, the following Sub-Tasks should be added below that issue.
Ok, I actually just realize, that this isn't working...
For reasons beyond my understanding you actually have to branch your rule:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, for your rule you should set branching to "Most Recently Created Issue" below your SR and then continue with the creation of further Tasks below outside the branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Branching to the "Most recently created issue" works perfectly, thanks @David Friedrich
Even when you try to branch the "Parent issue" or "Current Issue" it doesnt work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to share the screen shot of your automation rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.