Hi Everyone,
I hope everyone is fine. I have some weird question this time. I want to automate the creation of sub-tasks based on the description of the Story.
Here is the scenario. I have created Story with the detailed description, I want to automate creating sub-tasks based on this story description. For e.g. I have entered a detailed description with line breaking or something like
1. Some example text
2. Some example text
3. Some example text
Now 3 sub-tasks needs to be created based on this description entered in the user story.
The idea behind this is I don't need to create sub-tasks every time when story is created and I have to create sub-tasks for every story, that's how my project works.
I am not very hopeful that this is possible but kindly let me know if there's any possibility.
Hi @Hizkeel Khan Here is the solution, I have used substringBetween(String open, String close) to get Story Description data and copy in into Sub-tasks.
You have to split description based on your data, I have designed based on my description data :- https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vikrant Yadav - Thank you so much for your detailed answer. This looks great.
However, this still doesn't solve my problem. Using this I still have to create the automation rule every time against the Story. The description will be different for every story so it doesn't serve my purpose.
I am trying to automate the process. For story I created, the sub-tasks should be created automatically with the description of the Story divided into sub-tasks automatically.
I am attaching SS for reference. Can we create the sub-tasks based on divider (horizontal line). This way I won't have to specify the description in sub-tasks every time while creating automation rule.
I hope I have made it clear to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hizkeel Khan Jira's smart values do not have a direct function to extract text before or after a horizontal line from the Description field. Use something string like ---- or ____
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vikrant Yadav - Can you please let me know how I'll be able to do it. That would be Great. Thanks.
I mean how I will use these in Smart Values?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Hizkeel Khan You have to use these in Description field. It's better to add default Template in Description field, so that user fill that data in sequence manner and you also capture correct data. Default template means when use click on create button they get default question already filled in Description field.
In Smart value you can use String function to get the data.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Hizkeel Khan You want to capture all three example text and store in sub-task, or you want just to check if example text is available or not ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I want the sub-tasks should be created automatically from the main story and divided into like 2-3 subtasks.
The main story description should be divided into number of sub-tasks that are created. The idea is I don't need to write/copy description of each sub-tasks separately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever get a solution? I am working on a similar automation
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.