I want to create a Jira automation where the sub-tasks created under the story will automatically add Scrum Team of the Story into the sub-task
Hello CK,
For the rule on creation, assuming you are using a custom field would look something like this:
You can find the Custom field ID by going to the upper right Cog icon --> Issues --> Custom Field --> look for your field and click on the name.
The other rule is a almost the same but not on issue creation but on field update. BE specially careful to copy from parent issue on the Action at the end:
And finally you can set an automation rule to run and bulk change all, but that can put some work on your instance. Let me know if this was helpul.
Regards,
Nico.
Welcome to the Atlassian Community!
You could create a new field for scrum-team (you can't reuse the old one, it won' work, you need a separate field), add that field to stories and sub-tasks and then have a script or automation that copies the stories scrum-team into it when the sub-tasks are created or the story's field is edited.
However, it's not that useful. Sub-tasks are a part of their parent story, not individual issues. The team of a sub-task is always the team the story belongs tobecause it is part of the story.
On top of that, sub-tasks appear on boards when their parent is on one, and as a board = a team, you can always infer the team from there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the scenario. I already have Scrum teams created and add them when i create a story. Now when i start adding sub-tasks to this story i need the scrum team to automatically populate to the sub-tasks created under this story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you said that before, I've explained already
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The simplest solution is two rules. As I said, a trigger of sub-task created, and the second triggered by the field on the parent being edited
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Above solutions did not work. i need to Assign Scrum team of Parent Story to tagged Sub-Tasks ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As we've already discussed, it doesn't work like that. The solutions above are all you can do (and they do work, we use them regularly)
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.