How to link defect to story in greenhopper, just as link story to epic?

In greenhopper, every story card has a field named as epic, which is a dropdownbox and used to establish the link between story and epic.

Usually, each story may have several defects. Can I define a custom filed in defect issue type to capature such a link? what's the type of the filed?

Thanks a lot!

3 answers

1 accepted

I'm not sure why you would want to do this, issue links are much more powerful than trying to use a custom field.

You can go ahead and create another custom field like Epic if you wish, if you look at the configuration it's just a field of type label, but no part of JIRA or GreenHopper will enforce that the labels in it are valid issue ids.


My team will transfer from mingle to greenhopper. I hope the use of greenhopper close to their past habbit. In mingle, each defect have an attribute to describe which story this defect belongs to. And then, in view of story, all defects will be shown.

So if I hope to attain this effect, what can I do ? If I define a custom field named Story which type is label, and apply the filed into defect issue type, can it load all the story automatically?



If you use an issue link then the story will show all the defects that were created from it (and the defects will have a link to their story).

Hi, I have tried your method. It really solve my problem perfectly.

Thanks a lot.


One option for you is to use the LINK feature in JIRA. You can create a link type called "Belongs to Story" and ask the QA team to use this to link the bugs to the Story.

Is there any other method to link the bugs to the story, besides LINK feature?

You could try creating sub-tasks of the parent stories for the defect.


Thanks, but it is not what I wanted. Each story may have several sub-tasks and bugs. why not use custom filed to solve this problem just as story use epic field?

Suggest an answer

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

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

171 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you