Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,733
Community Members
 
Community Events
176
Community Groups

How to copy/clone specifically linked tickets to child ticket?

Hi All - 

 

I have an odd request for help.

Scenario:

Bug ticket gets created (Ticket A)

Wrapper ticket gets created that then houses Ticket A along with other relevant bug tickets (Ticket B)

Once Ticket B gets to a specific status, a built in automation job activates to clone Ticket B into a different project (Ticket C) in which the work to fix the specific bug on a specific environment and version gets assigned to the specific group needing to do the work. Currently, the automation task is setup to when it clones from B -> C, it sets the link to "Child ticket of..". Ticket C currently has no visibility to Ticket A

 

Question:

Is there a post function or automation component available to link Ticket A to ticket C upon ticket C's creation?

1 answer

Hi Drew,

Try this out:

Example rule.png

  1. Add Linked Issues field to the action you're using to clone ticket B and choose Copy Linked Issues from Current issue. This will link all the issues linked the ticket B to the ticket C.
  2. To add a link between the ticket B and the ticket C use JSON in More options > Additional fields:
    {
       "update": {
          "issuelinks": [
             {
                "add": {
                   "type": {
                      "name": "Parent-Child"
                   },
                   "outwardIssue": {
                      "key": "{{issue.key}}"
                   }
                }
             }
          ]
       }
    }
    The link type name may differs.

Please let me know if it works for you.

Suggest an answer

Log in or Sign up to answer