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

For Subtask: An Epic Link is required to create a Story, Bug, or Task

I am seeing this error "An Epic Link is required to create a Story, Bug, or Task" (image 1) while also seeing this error "A subtask cannot be assigned to an Epic (image 2)

Important to note: We HAVE been able to do this in the past. The only thing I made changes to was the story bug workflow (I associated it with a new, existing workflow with additional statuses), but I'm not sure if that had a direct affect on it.

1. The field configuration for story bug has Epic Link as Locked (image 3)

2. I have tried including and excluding Epic Link from the Story Bug screen

Screen Shot 2019-08-28 at 2.17.59 PM.pngScreen Shot 2019-08-28 at 2.28.17 PM.pngScreen Shot 2019-08-28 at 2.25.26 PM.png

1 answer

0 votes
Andy Heinzer Atlassian Team Sep 09, 2019

Hi Megan,

I see you appear to be caught in a situation where you can't create an issue of this specific type.  It looks like your field configuration is set to make the Epic link a required field.  That is not a default setting, and I don't know why associating with a new workflow would impose this.   Since subtasks can't have an epic link, in turn Jira won't let you create them when in this project they are associated with a field configuration that requires it.  Excluding the field from the screen won't help here either, as you already have noted.  The field configuration scheme would need to be adjusted here in some manner to resolve this.

There are a couple of different ways to move forward here.

  1. You could simply edit the existing field configuration scheme here to make the Epic link optional instead of required.  That would then allow you to create these issue types, but it doesn't force all issues created that use that scheme to fill in that field.  You should be careful when doing this as this kind of change would be propagated to all projects/issuetypes that currently use this field configuration in Jira.
  2. Alternatively, you could create a new field configuration scheme just for these issues types and set the Epic link as optional there.  Once that is done you just need to associate this is to create a new field configuration scheme specifically with this issue type in that project.   It's more complex to set it up this way, but it does have the benefit of still honoring the field as required for other issue types.

I'd suggest checking out Associating field behavior with issue types.  I think what will be best would be to first copy the existing field configuration, then in that copied version, edit the Epic link field to be Optional instead of Required.  From there, you would then need to associate this new field configuration with these subtask issue types that can't have epic link values associated with them.  This way you can create those issues types again.

I hope this helps.

Andy

Suggest an answer

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

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

879 views 7 24
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