Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira automation: Adding new labels when task assigned to Epic

Sohail Alam
Contributor
September 4, 2024

I am creating a new task with no parent, but when I assign that task to the Epic parent then I want that newly created task label name to be Success. Please help me out on creating the Jira automation.

Thanks

2 answers

1 accepted

0 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2024

Hi @Sohail Alam 

Can you show the automation you currently have tried to setup.

I don't want to just give you a rule, I hope I can teach you something, so you can use the knowledge in the future.

Sohail Alam
Contributor
September 4, 2024

I am doing this, and I think it is working now. Can u please help me if it gets removed from Epic then remove the label too? ThanksUntitled.png

Sohail Alam
Contributor
September 4, 2024

But I think the above automation that I wrote is not effective enough. Cuz If I edit the ticket then it automatically changes the label to Project. Could you please help me? @Marc - Devoteam 

 

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2024

Hi @Sohail Alam 

Keep the Trigger and Condition actions you already have, then extend the rule as follows:

Screenshot 2024-09-05 at 13.50.27.png

On the first edit add the label you require on the second edit, click the 3 dots and configure as shown.

Remove the label you have on the parent

Sohail Alam
Contributor
September 5, 2024

And it is still showing the label if I unlink the project. How can I remove the label if it is unlinked with Project?

Thanks

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2024

Hi adapt my rule to your needs

What is the label you set on connecting to a project issue type, remove that label when removing the parent field value.

How are you linking the issues, via parent field or issue link?

Sohail Alam
Contributor
September 5, 2024

I am adding project by clicking add Project and removing it by clicking the pencil Icon and clicking Remove Parent.

Untitled.png

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2024

Then the rule should work.

Can you show me the audit log and the detail when you removed the project parent.

Sohail Alam
Contributor
September 5, 2024

It was a typo in the label name, made it work. Thanks

Like Marc - Devoteam likes this
0 votes
Sohail Alam
Contributor
September 4, 2024

I am doing this, and I think it is working now. Can u please help me if it gets removed from Epic then remove the label too? Thanks

Untitled.png

Suggest an answer

Log in or Sign up to answer