Batch ticket modification on Phabricator - phabricator

I have many old tickets with open status on Maniphest and completely useless for now, How could I change status of all of them to resolved without changing one by one?

There is a batch edit feature. You can access it on any search.
Go to the Maniphest application
Use the advanced search (or a saved search) to get the old tasks that you want to remove
Select all the tasks that you want to remove by pressing the shift button and clicking them one by one (there is a "Select All" button as well)
Click "Batch Edit Selected"
At the bottom, select the "Change Status" action and select the desired new status.
Click "Update Tasks"
WARNING: There is no "Undo" button. Once this is done, the only way to undo it is to try to repeat this process and change the status back or go one by one.

Related

How to cancel any changes to textbox data

I'm creating my own version of a wizard form using Asp.Net Webforms.
The form contains multiple steps and each step contains multiple input fields of varying types. Data is validated after each step is completed before moving onto the next step.
In addition to moving forward, each completed section also has an Edit facility.
I was hoping to have 2 buttons available in Edit mode - one to Continue and re-validate and another to Cancel and forget everything.
However, it seems that isn't so easy.
The continue button works exactly as the Continue button in add mode - in fact it's the same button - so no issues there.
But there is an issue with the Cancel button.
Suppose a user enters edit mode and changes their name from 'John' to 'Jon'. They could press Continue to accept and revalidate. however, if they were to press Cancel, they would expect so see the original spelling of 'John' restored.
This doesn't happen automatically.
So, as I currently see it, I have two options. The easy option - remove the Cancel button (and potential confusion) - or the hard option, to code a backup and restore solution in edit mode, which is likely to be a pain as it will need to cover all input types.
However, I'm hoping there's a third option available - one that offers some kind of built in functionality to help manage this problem.
So that's the question - is there any other solution aside from the two options I've already outlined?

Is there a way to assign existing "feature" to epic?

We are using Visual Studio online as our backlog/sprint planning system. Now VSO development team has introduced possibility to define epics, which is great.
But the problem is that I already have full backlog with features and backlog items. I can not find a way how to assign those features to newly created epics... (the same if I have created backlog item first and after that - if I create a feature, I can't find a way how to attach that aforementioned backlog item to the newly created feature)
I am stuck and can't find a way how to accomplish this. Is it at all possible? Can anyone shed some light?
Yes, follow the steps below to accomplish this:
From Epics:
Open the Epics item.
Click "Link to..." button under "Features" tab.
Select "Child" link type and enter the ID of the feature you'd like to assign to this Epic.
From Features
Set "Mapping" to "On" and you will see the Epics listed in the right
panel.
Drag and drop the feature to the Epic you'd like to assign.
Or you can also:
Open the feature item.
Click "Link to..." button under "All Links" tab.
Set "Link Type" to "Parent" and enter the ID of the Epic you'd like to assign.
The steps above can be also used when you want to assign backlog item to feature.
An easier way is to use the "Mapping" pane on the "Backlogs" tab:
Go to the "Feature" level
Activate the "Mapping" pane
Now simply drag & drop your features onto the epic you want:
The Epic work item form should have a FEATURES tab where you can associate existing or add new features (that are automatically associated to the Epic)

Add filter to Add existing button crm 2011

I followed the instructions in this link
but I face a strange problem which is when the lookup is populated with the new filtered view the add button is getting disabled when I select a record from the new view !!
I debugged the code in the lookupinfo.aspx page and I found this line of code that controls whether the add button is enabled or disabled
btnAdd.disabled = (crmGrid.InnerGrid.SelectedRecords.length == 0);
and this line of code always return true despite there is a selected record !!
Can anyone help me ?
Thank you.
I followed the instructions in this link
Which link? I can't see one referenced in your question. I'll make some assumptions about what you are trying to do. I will assume that you are trying to hide an "Add Existing" button linked to a form's sub-grid. I'll also assuem you're trying to edit XML files by hand (which is the hard way!).
The easiest way to apply rules to buttons in CRM 2011 is to use Erik Pool's brilliant tool "Visual Ribbon Editor" (available here)).
To hide an "Add Existing" button based on selected records, you would:
Connect the tool to your CRM environment
Open the "parent" entity (i.e. the record type that shows the "Add Existing xxxx" button
Select the Ribbon Type to be "Sub-Grid"
Select the button you wish to manipulate
Add or edit the Enable Rules for that button
If I'm not describing a solution to your problem, maybe enhance your question - it's hard to understand what you are trying to acheive.

Editing Build Settings in xcode 4

I have been unable to work out how to edit build settings using the pop-up shown below.
I can enter multiple lines in the pop-up by clicking the '+'. My questions are :-
What is the checkbox next to the setting used for?
Once I have entered one or more settings in the pop-up, how do I make them transfer to the setting I am editing. There isn't a 'Save' button, and clicking off the pop-up closes it but doesn't seem to save the entered data.
Thanks
To delete, check the checkbox and click "-".
To make a new one, click "+".
To save, click "Done".
Welcome to the Wonderful World of Apple UX.

Drupal Views: Display recent nodes created by user on profile page

I'm wondering how I can display the recently created nodes by a user on their profile page. I've created a new page for a user at /user/%user and I want to be able to display the latest nodes created by that user.
ok, the answer involves creating a drupal view, so you will need the views module and although simple, the answer is lengthy. please bear with me through this... :) (i am actually doing this on a test site as i write the instructions, to make sure i dont miss anything...)
i assume that you know how to download and install the views module. make sure you also enable the views-ui module.
go to site building->views->add.
put "recent_posts_by_user" for view name, "recent posts by user" for description and "node" for view type. hit next.
under the "default" view type, on the "fields" block, hit the "+" sign.
under "groups" select node, then check the "node type", "node title" and "node updated date" fields. hit the "add" button below the list.
under basic settings block (on the left), click on the "10" for "items for display" and change to "5" or however many items you want per page, and hit "update"
under "use pager", click on "no" and "full pager" or "mini pager" and hit "update" again.
under style, hit "unformatted" and change it to "table" set all fields to sortable, then choose the "updated date" as "default sort", then on "default sort order", select "descending". hit update.
hit "save" to save your progress thus far.
default view is done. YAY! lets add the block
now on the drop-down that says "page", select "block" and hit "add display".
hit "arguments" (block title on the center of the screen)
hit "override" and "update"
hit the "+" sign to the right of "arguments"
on the "groups" drop down, select "user" and select "user id". hit "add"
under "Action to take if argument is not present", select the last option "provide default argument", select "user id from url" and check "Also look for a node and use the node author"
under "validator", select "user" and "Allow both numeric UIDs and string usernames"
under "Action to take if argument does not validate" select "hide view/page not found (404)"
hit "update" then "save"
view is created now lets make sure it shows up on the right pages.
go to site building->blocks, search for the "recent posts by user" block and hit "configure"
scroll all the way to the bottom and select "Show on only the listed pages." and put in "users/*" under the "pages" text area
hit "save block"
now find the "recent posts by user" block again and set it to "content bottom" region (or any other region your theme has available).
hit "save blocks"
DONE! Not rocket-science, but lengthy process... drupal 6 views is so much better than drupal 5! :)
now go visit a user page http://site/users/username and see the table show up there!
hit me up if you still have questions about views.
enjoy
Put in a Views Argument that uses the User ID from the URL argument. It will be arg(1). That should filter content that was authored by the profile you are looking at. That can work for a block or content pane.
I just prefer you to go to Views -> Sort Criteria and add the Node:Updated Date and mark it as descending as it shows the granularity over the time.
Moreover, you can also get the most recent node not only to the table style but to all.

Resources