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

Is there a way (Addons?) to prevent Epic Links from being cross-project?

Hello all,

My organization has the issue described here (this is from 2014!):

Now it seems like there is no obvious out of the box solution to this issue but does anyone maybe know a way to do this via addons or some other workaround?

We currently have the problem that we use identical Epic Names in various projects. So it is a nuisance when people are entering or editing tickets, they always see ALL Epic Links, not just the one for the selected project

Thank you,


2 answers

1 accepted

2 votes
Answer accepted

Hi @FK 

As you noted, this checking/prevention is not a feature in Jira yet.

One work-around would be to use an automation rule which checks when an epic is assigned, and notifies the person doing the edit if the epic is not in the same project.  This would not block the edit but it would make it more visible for correction.

For example:

  • trigger: issue updated
  • advanced compare condition: use change log to check if the epic link was assigned
  • branch: on the epic link
    • advanced compare condition: if the epic's project is different from the trigger issue's project
    • action: notify the person {{initiator}} by email, comment/mention, Slack, etc.

Kind regards,

Hello Bill,

Thank you for your idea!

Could you please elaborate on the second step? I fail to understand how I can use the changelog to check if the Epic was assigned via Advanced Compare Condition.

I am not sure how to express that here



Oops...updating for my prior errors.  Sorry about that!

One more time...please try two advanced compare conditions, one after the other.

The first checks if the epic link field changed

  • first value: {{#changelog.epic link}}{{fromString}}{{/}}
  • condition: does not equal
  • second value: {{#changelog.epic link}}{{toString}}{{/}}

The second checks if the epic link field has a value

  • first value: {{issue.epic link}}
  • condition: does not equal
  • second value: leave this as "Empty"
Like FK likes this

Thank you Bill!

I played around with your instructions and almost got it to work (I was not able to fully figure out how to compare the parents Project name with the current issues Project name after branching onto the Epic Link - step 3 from your previous message.

But regardless your information allowed me to end up with this here which does what it needs to do:


I changed the Trigger to "Created" because we do not have Jira Premium and therefore only 500 cross-project automation executions per month. Running a rule each time an issue is updated would eat that up in 2 days :)

Thank you again for your ideas and help!

Fingers crossed that Atlassian still gives us the option to toggle that Epics from other Projects cannot be selected.


Like Bill Sheboy likes this

@Bill Sheboy now I encountered another issue, maybe you can still find a minute to help me?

What I posted above works perfectly for all our use cases except one: We have one project with no epics. Which means whenever a ticket is created in that project, the rule I pasted above will always fire a mail.

Could you help me finding a way to exclude that one project from this otherwise global rule?


First thing: when a rule triggers it counts as an "execution" for usage counts.  So the create trigger will count each time.

Next, to prevent issues without epics from sending an email, please add another condition to test if the created issue has an epic immediately after the trigger.  The other way to do this is to change the rule's detail settings and select specific projects...excluding the ones without epics.  (That seems like a "brittle" solution to me as it requires you to remember and maintain the setting.)

Like FK likes this
1 vote
Fabian Lim Community Leader Dec 30, 2021

Hi @FK

It's a great idea.  Hopefully you will get enough votes. 


Thanks @FA

There are so many addons out there, I am a bit surprised that we cannot find one for this purpose.

That is why we hoped that there is one and we maybe just do not see it. After all I would not expect much support from Atlassian here (looking at the creation date of the ticket I linked in the original post).


Like Fabian Lim likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

370 views 1 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