Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Tasks not inheriting label from epic using automation

1. I have an epic that has a label. (see first screenshot)

2. I am wanting to have that label be applied to new issue (a task type) that's linked to the epic. (see first screenshot)

3. I built an automation rule that I think should accomplish this. (See 2nd screenshot)

 

I've also tried 'add labels from epic', setting the label to 'Copy from Parent' as well as 'Copy from Epic', etc.

Where am I going wrong?


Screen Shot 2022-01-07 at 2.24.35 PM.pngScreen Shot 2022-01-07 at 2.27.58 PM.png

3 answers

Hey @Ben Kojis 

You are almost there, one thing you must include is the branch to check if the issue created as "Epic" as parent. So please check this out rule, it works.

In Edit issue field for labels provide "Copy from Epic" option.

Inherit_Epic_Labels.png

 

Regards,

Vishwas

0 votes
John Funk Community Leader Jan 07, 2022

Hey Ben - What type of project are you using? Team-managed? Company-managed?

John Funk Community Leader Jan 07, 2022

Since it is Team-managed, you will need to use parent and not Epic Link. 

So what happens when it runs? Can you include the audit log?

@John Funk - I'm going to stick w/ this thread for now and will circle back on @Vishwas N M 's.

 

1. I kept the basic logic we had in place; however, switched out 'copy from parent' as you had suggested.

2. I then created a new ticket associated w/ the Epic

3. And checked the audit log (thank you for pointing this out)

 

You'll note in the screenshots below, that it seemingly ran successfully for ENROLL-133; however, when I go to the ticket, the label does not appear. 

 

Thoughts?

 

Screen Shot 2022-01-10 at 10.21.35 AM.pngScreen Shot 2022-01-10 at 10.21.43 AM.png

Hey @Ben Kojis 

You may have to use "Branch" feature with "if Epic exists" condition thing to check if epic exists and copy from there. Did you give a try with the rule I had sent and got same issue ?

Regards,

Vishwas

Hey @Vishwas N M , thanks for the thought here. I didn't have any luck w/ the following. I'm curious if you (or anyone else) have other ideas.

 

1. Your original suggested rules - the only difference being I couldn't use logic of 'exists', I had to use 'is not empty'. And then again, I'm using 'Copy from Parent' as @John had suggested. Screen Shot 2022-01-12 at 4.51.24 PM.png 2. I also tried adding a branch within the logic to see if that made a difference. Same logic w/ the Epic and what I'm copying the label from. I'm less confident I got this one right... 

Screen Shot 2022-01-12 at 4.50.34 PM.png

 

I did rename the 'Epic' issue type name to 'Bets'. I could imagine that goofing some logic. Wanted to call it out here.

John Funk Community Leader Jan 13, 2022

Renaming that field could have done it, as everything else looks correct. 

0 votes
Jimmy Seddon Community Leader Jan 07, 2022

Hi @Ben Kojis,

Welcome to the Community!

Unfortunately your rule isn't quite working the way you might expect it to.   I was looking at the editing of Labels myself and I saw that copy from epic issue is an option.  While I know that parent would seem to make sense here I think you actually want the copy from epic operation instead.

I hope that helps!

-Jimmy

@John Funk - this is a team-managed project.

@Jimmy Seddon - I thought I had tried this earlier. I updated the action to 'copy from Epic' in 2 different manners (see screenshots) and didn't have luck w/ either. 

Screen Shot 2022-01-07 at 3.17.59 PM.png

 

Screen Shot 2022-01-07 at 3.17.43 PM.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

182 views 0 5
Read article

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