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.

Cheers,
Shaun

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?

Thanks.

Ruier

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.

Ruier

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.

Cheers,
Shaun

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,045 views 8 18
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