Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Attachment to defect

We have integrated RQM and RTC and defects created in RQM can be found and processed in RTC.
We can also attach files /snapshot to the defect after the defect has been created and saved.
What I would like to know is how to attach files/snapshots to the defect when I create a defect.
It seems to me that the create defect template is missing the tab 'Links' .

Can somebody tell if this can be fixed in some way or do we have to wait with attachments until after the defect has been created?

1

1 vote


Accepted answer

Permanent link
Hello,
this is due to the fact that when creating a RTC defect from RQM - in the WebUI - you are using
a different editor - called the "Inline Work Item Editor", for which attachments are not available by default.

To overcome this:
Edit your RTC Project Area - Project configuration  - Work Items - Editor Presentations
select the Web Inline Editor
Add the attachments presentation (non-attribute based)

Save your changes
Create a new defect from RQM. Observe: attachment can be added
Claus Hjerrild Pedersen selected this answer as the correct answer

1 vote


6 other answers

Permanent link
I would like to extend the question and understand how can we force the defect creator to attach files/snapshots and not leave it to his/her discretion.

0 votes

Comments

Hello Shimon,
as I can understand it, it's currently not possible, as attachment is not an attribute, so we can not enforce any value to be set.
This will be addressed with enhancement Allow to configure links as required properties (93796)


Permanent link
Hi Claus

The create defect option does have links tab to add attachments:


0 votes


Permanent link
Hi Rajat
I think that the problem is that there are two different create defect dialogs.
When you create a defect directly in RTC it is possible to add attachments as you describe.
However when you create a defect during test execution in RQM the defect dialog is different as shown below.
In this situation attachments can not not be added.


0 votes


Permanent link
Hi Eric Jodet, I have followed the steps as you are describing, as I also wanted to have the Attachments section on the defect editor from RQM. I successfully was able to make the attachment section to show, but I am experiencing the following issue:
When I press browse button and select the file to attach, it shows is is uploading but after some seconds when it finishes it doesnt attach anything, and "No attachments" is still shown as if nothing would have been added.
I tested in different project areas, and getting same result: nothing is shown nor attached after selecting a file.
Please I would like to know how to solve this problem, I tested different browsers but no changes.
Thanks

0 votes

Comments

 Hello Daniel,

you may use Firebug with Firefox,
check the console and look for error

Eric


Permanent link

Eric Jodet: After some time I got back into this issue and try your suggestion, this is the error I am getting in the console:



Can you think why I am getting this error in the console and how to possibly solve it so I am able to put some attachment in the defect.
Thanks!






0 votes


Permanent link
This is part of the error I am getting in the console, for some reason it was not included in the previous post:

 Problems executing condition {0}:: Cannot read property 'TYPE' of undefined. TypeError: Cannot read property 'TYPE' of undefined
    at dojo.declare.matches (WPSizeUnitOfMeasure.js:15:51)
    at dojo.declare.matches (https://ratsuite188.sby.ibm.com:9444/ccm/web/_js/?include=Bm~&etag=DV0CIYNitug_en_US&_proxyURL=%2Fccm&ss=FuSX0&locale=en-us:48659:12)


Thanks

0 votes

Comments

 Hello,

this would require some debugging.
Refer to our Wiki page - https://jazz.net/wiki/bin/view/Main/L3WIDebugging?topicparent=Main.RTCL3#Web_UI_JavaScript

Install Chromium, add ?debug=true to your URL,
and have Chromium break on all exceptions.

You should stop at the error.

If the code is ours, please open a PMR.

Thanks,
Eric

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 30 '10, 7:43 a.m.

Question was seen: 11,615 times

Last updated: Jan 23 '15, 2:08 a.m.

Confirmation Cancel Confirm