How do I delete an attachment for a Rally task - task

How do I delete an attachment for a Rally task?
It's easy enough to create the attachment (drag & drop), but I don't personally see any way to delete it.

Open the task, then select 'Edit...' from the 'Actions' pull-down.
To the far right of the attachment name, there is a trash-can icon.
Click on it to delete the attachment.
Then click 'Save & Close'.
For example:
Original UI interface:
New UI interface:

Related

Firefox extension: How update vanilla context menu entries?

I would like to change a given existing vanilla firefox context menu entry.
For example: When right-clicking an image instead of seeing "Copy Image" one should see "Image Copy" in the future. (which would be an update of the title like:
browser.contextMenus.update({
id: "copy-image",
title: "Image Copy"
});
sadly I couldn't find any information about the id's of vanilla firefox context menu entries. I have the supposition that the id's are only for handling selfmade context menu entries. Can someone give me a hint where I can find the documentation since https://webextension-api.thunderbird.net/en/78/menus.html doesn't solve my issue.

Assign a field mapping on the "Create copy of work item" function

When a user creates a bug on the Agile template, we have fields such as 'System Info', 'Repro Steps' and 'Acceptance Criteria'. If the bug should have been a User Story (change), we can use the 'Create Copy of Work item' link, but only the title and priority fields are migrated to the new user story.
Is there a way to define a mapping for the 'Create Copy of Work item' workflow to migrate a specific bug field to a specific user story field, and vice-versa?
Sorry it's not able to achieve this. You may have to manually migrated some specific fields and values when create copy of work item'
Have raised a feature request here:
Customize a field mapping by using 'Create Copy of Work item' workflow
https://developercommunity.visualstudio.com/idea/1145139/customize-a-field-mapping-by-using-create-copy-of.html
Kindly vote up and monitor the process. Our Product team will review it.

Save Column Option settings in TFS?

Is there any way to save your Column Option settings so that you can re-use them or apply them to other queries in TFS?
I've searched and it doesn't appear there is a way to do this, but maybe I am missing something.
Yes.. Follow below steps
Create a Query under queries pane. Make sure it works & Results are displayed
Now customise the view by clicking on the 'Column Options' & remove or add any column by DOUBLE CLICKING on it option followed by OK to save for current view
From the Result screen, notice 'SAVE QUERY' option. This should save your current view as it is to the Query
Voila.. Your view is saved as it is in the Query

How to add edit items to the predefined lists in TFS Work Items

I am trying to follow this article to do the same for adding a new State to a particular project's Bug work item. By default I can only see . I wanted to add a new state, "On Hold"
But I perhaps followed it wrong and ended up getting
The error says "Open Transition Active~On Hold to add at least one Reason." How do I open that transition and where do I add one reason. What is the reason it is talking about? I only want to add a new state.
Thanks for your time...
Double click the Active~On Hold Transition , select the Reasons tab and type in at least one reason.
After saving the .wit file, you must click Refresh from the Team Explorer menu in order to see changes.
In the work item editor, double click on the Transition between your Active and On hold states. Under 'Transition Detail' you should see 'From: Active' and 'To: On Hold'. Change 'From: Active' to blank so it should show 'From: '. Now save the editors, click 'refresh' from the Team Explorer menu and any new bugs you create will have 'On Hold' as an option for the state.

Rails Radio Button With New Records Help

I have a Boards model and it has many Attachments. I want to be able to have ONE featured attachment. I have a featured_attachment_id column on the Boards table.
When I'm editing a board, I can select which attachment is the featured one. I'm doing this with a Radio button. Because each attachment is already persisted, I can easily get it's id and make it the featured attachment.
The problem is when I'm creating boards or I want the featured attachment to be a new one. Since it has no id, I have no idea how to know that this new attachment will be the featured one.
Any help on getting this done for new records? I'm using the Board.accepts_nested_attributes_for :attachment, so I can have the board_form.fields_for :attachments ...
Thanks a lot,
Nicolás Hock Isaza
It sounds like you have two different use cases:
make one of the current attachments
featured
make new attachment and mark it
featured
It sounds like you've already implemented a working version of #1 but need to build #2.
I suggest adding a new control on your upload form, perhaps a check box, that lets you flag that new upload as featured. You should be able to correlate that to your new upload in the controller and mark that attachment as featured after you've saved the attachment. You can't do this by attachment ID, but you should be able to do it by ordinal or other method (ie: 3 uploads, mark third as featured).

Resources