Hi,
I am looking to find information on how to copy the description from one subtask to another within the same parent task.
Little background. We are automating the creation of subtasks using JSON. This data is imported into Jira and creates the subtasks but also provides the relevant URL and additional information in the description of each subtask (URL and information is different for each subtask).
How could I have a single subtask that could copy the description from each subtask created through the JSON data and house all of the URL and additional information within it?
Hi @Jeremy Branby and welcome to the community!
If I'm understanding correctly, you're trying to create a sub-task that will continuously concatenate the Description field from JSON generated sub-tasks.
If I'm correct, this could work like this:
First, you'd need to leverage some type of tag (label, component, custom field) to differentiate the aggregate sub-task from the ones created by JSON. I'll use a component called "Master" for my example:
Parent = {{issue.Parent}} AND Component IN (Master)
{{issue.Description}}\\ ---- \\{{triggerIssue.Description}}
This will trigger any time a new sub-task is created where the component is not Master. Then searches for the Master sub-task and appends the new sub-task description at the bottom. \\ ---- \\ should separate descriptions with a horizontal line.
Hi Mark,
Thank you for the suggestion, I tested this out and it was able to work. Thank you!!
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.