Bug 1104481

Summary: [RFE][test run]When add issue_id to caserun, checked the option 'check to add Test Cases to BZ', system does not sync case_id to bugzilla.
Product: [Other] TCMS Reporter: yangqiu <qiyang>
Component: ApplicationAssignee: cqi
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: low Docs Contact:
Priority: low    
Version: 3.8.8CC: cqi, junzhang, leiwang, ryang, vchen
Target Milestone: ---   
Target Release: 3.8.11   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
When add issue_id to caserun, checked the option 'check to add Test Cases to BZ', system does not sync case_id to bugzilla none

Description yangqiu 2014-06-04 06:27:48 UTC
Created attachment 901975 [details]
When add issue_id to caserun, checked the option 'check to add Test Cases to BZ', system does not sync case_id to bugzilla

Description of problem:
as subject.

Version-Release number of selected component (if applicable):
v3.8.8-1 on devel server.

How reproducible:
100%

Steps to Reproduce:
1.Enter a run detail page.
https://tcms-devel.app.eng.nay.redhat.com/run/72347/
2.Expand a caserun, click add bug link.
3.In add bug dialog, choose 'Issue Tracker' is jira, input jira_id, checked the option 'check to add Test Cases to BZ, click add btn.
4.Check system whether sync the case_id to bugzilla or not.

Actual results:
system does not sync case_id to bugzilla.

Expected results:
If system does not sync case_id to bugzilla when 'Issue Tracker' is jira, system should not display the option after user choose the 'Issue Tracker' is jira.

Additional info:
The above issue also happened when batch add issue_id to caseruns.


Additional info:

Comment 1 cqi 2014-09-05 13:06:34 UTC
fixed.

Comment 2 cqi 2014-09-09 03:39:37 UTC
This is not the case actually. "check to add Test Cases to BZ" is misunderstand user when someone is adding a JIRA issue key. That option only applies to Bugzilla. Fix this bug by switching issue id input area along with the change of Issue tracker selection.

Comment 3 Tingting Zhao 2014-09-10 07:43:26 UTC
verify on devel server with v3.8.11-1 :pass
verify steps are the same as the description.And the case id can be linked to the bugzilla.