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
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.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 Started
ACTION: Create work Item
FOR EACH: Related Item / Most Recently Create Item
<insert 20 Create sub-tasks ACTIONS to create 20 subtasks>
ACTION: Create work item
FOR EACH: Related Item / Most Recently Create Item
<insert 5 Create sub-tasks ACTIONS to create 5 subtasks>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Vik Tailor
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.
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.