Forums

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

After I convert a sub-bug into a bug, why the link between the story and the bug is lost?

SOFIANE BENMILA June 11, 2018

On our regular workflow, when I test a stroy I enter my finding as sub-bugs.
Sometimes decision is taken to close the story and convert the sub-bugs into bugs for the backlog.
Is there a reason why the link between the story and the converted bug is lost? 
Is there a way to change this default behavior?

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
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.
June 11, 2018

Hello,

What kind of links do you use between story and sub-bugs? If you use subtasks for sub-bugs and bugs are usual tasks, then the link will be lost. If you want the link to be untouched, you should link Story and Sub-bugs with a custom link not with task -> sub-task link .

SOFIANE BENMILA June 11, 2018

Hello Alexey,
Thanks for your prompt answer, you are right we use subtasks for sub-bugs.

Is it possible to set this custom link at the moment when we convert the sub-bug into a bug automatically or we can do it only manually (moments before converting)?

Thanks!

Alexey Matveev
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.
June 11, 2018

You can do automatically if you have an add-on like ScriptRunner, Power Scripts, Automation for Jira. And even having these add-ons, it would be easier not to create a sub-task but a task and link it to the main task with a custom link. If you do not have such add-ons, then you can do it only manually.

SOFIANE BENMILA June 11, 2018

Thanks for answers Alexey!
I understand. Solution for me will be to go manually.

Just to keep you in the context...
We made a choice by adding sub-bugs as sub-tasks for an "external dependency" reason:
We moved recently from TFS to Jira and we still automatically generating tasks and branches in TFS for each task created in Jira and not for sub-tasks (our code and build system is still being managed in TFS for now and for sometime ahead).

So, as a QA and in order to not pollute TFS with false items and branches, we choice to go with sub-bugs during story development phase.

Alexey Matveev
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.
June 11, 2018

I am not sure what software you use for integrating TFS and Jira. But Jira has rich Rest APi. Maybe you could add some features to integration.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events