You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.