It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create Linked Issue for Custom Link Type

Stephen Williams Jan 12, 2018

Here's the scenario I am trying to solve:

1. Story is created. When story moves to In Progress, a new QA task is created with a custom link type (Parent/Child) where Story = Parent and Task = Child.

2. Once the linked QA task moves to Done, a second Review linked task is created and linked to the original Story (Step 1) with a custom link type (Parent/Child) where Story = Parent and Task = Child.

 

So that there is one parent Story and two linked Child tasks for Step 1 and Step 2.

 

I have Step 1 working using Automation for JIRA, but I can't seem to get the second task (Step 2) to link to the original story. I think the issue is that I need to determine if there is a smart value for the custom link type (Parent/Child). I've tried using {{issue.Parent}} as shown, but it simply will create the new task but not link it.

Screen Shot 01-12-18 at 10.34 AM.PNG

I know that this could be solved easier using Epics and/or Sub-Tasks, but this is not a viable option in this case. Any ideas?

1 answer

0 votes
Scott Harwood Community Leader Jan 14, 2018

Hi Stephan,

You can access the linked issues like this:

{{issue.issuelinks.last.inwardIssue.key}}

But unfortunately for your case, there is no way to restrict it to just a "Parent/Child" link type. So if there were more than one issue link it would not work :( 

Sorry,

Scott.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

Disney Live Action Reboots: Are you for or against?

Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...

133 views 19 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you