how to pass the parent jira number for a number of sub tasks that are created via a automation rule after a sprint has just started and a new story is created
Hello @Vik Tailor
Welcome to the Atlassian community.
Please provide a screen image showing your entire rule.
Without knowing what your rule currently does it is difficult to advice you on how to change it.
If you don't already have the rule created please describe what you want the rule to do; i.e.
WHEN this specific event occurs in Jira
THEN execute this specific action
THEN execute this next specific action
Hi @Vik Tailor
Welcome to the community.
See this KB; https://support.atlassian.com/jira/kb/create-new-stories-tasks-and-respective-subtasks-when-the-automation-rule-is-triggered/
Hey Vik, without knowing much about your automation rule yet, it's likely that you will need a smart value.
It differs depending on the context of how you are executing the rule, but hopefully this documentation about smart values in Jira automation helps you find the right one.
Once found, enter it in the field where you need it to appear.
Thanks Andrej,
It is in design mode at first i was wanting to start automation rule off at the start of a sprint. Create a 1st Story with about 20 sub tasks then another story with about 5 sub tasks.
If you trigger this rule based on the sprint starting, the items you create will be considered scope change for the sprint since they are being added after the sprint starts.
I would suggest this structure:
WHEN: Sprint StartedACTION: Create work ItemFOR EACH: Related Item / Most Recently Create Item <insert 20 Create sub-tasks ACTIONS to create 20 subtasks>ACTION: Create work itemFOR EACH: Related Item / Most Recently Create Item <insert 5 Create sub-tasks ACTIONS to create 5 subtasks>
Were you able to solve your requirement based on any of our answers? If so, please consider clicking the Accept Answer button(s) above the helpful answers.
If you still have questions, please let us know.
It looks like you're new here. Sign in or register to get started.