Create Task in project using the API on ASANA - asana

Using the ASANA API, I can't find a way to create an unassigned task attached to a project. Ex: I would like to create a task "Add this feature" to workspace "12345678" and add it to project "456789" without assignee.
Any help?
Thanks!

(I work at Asana)
Every project belongs to exactly one workspace, and all tasks in that project must also be in that workspace. Therefore, specifying both project and workspace would be redundant.
That said, if you look at the Task documentation you will see you can specify a projects array at creation time to indicate which projects the new task should be created in.

Related

In TFS Can you use a Task Group when running automated tests?

I am using TFS and have a Test Plan. All of the tests in the plan are automated. When creating a test plan, a Release must be created with a Visual Studio Test task included. That has worked until now, but there are a few things that we wanted to do along with running the tests. Specifically, we are replacing some tokens in a .runsettings file and then deleting the file after the tests have run.
I wanted to encapsulate all of that functionality in a Task Group since it seems like a common task that we will want to use often. Rather than having to add each task and configure them, a user could add the Task Group, set some parameters, and it just works.
When I try to execute a Test Run, I get this error
Validating environment:The Visual Studio Test task in the environment you selected is not the correct version, or has incorrect settings.
I am assuming that the issue is that I dont have a Visual Studio Test task included in my Release definition, but that is because the Task is included in my Task Group. Is there any way for this to work? I want to run automated tests while the Visual Studio Test task is part of a Task Group.
It looks like someone has requested this functionality on UserVoice, but I was hoping that there was a workaround.
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/33921664--test-run-step-not-detected-in-test-hub-when-in-t
Thanks
Current task groups for planned automation testing is not supported.
As you could see the user voice in our main forum for product suggestions:
"Test Run" step not detected in Test hub when in Task group
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/33921664--test-run-step-not-detected-in-test-hub-when-in-t
You could vote up and monitor it. TFS PM and Admin will kindly review your suggestion. Thank you for helping us build a better product.
Unfortunately, there is not any workaround for now. Suggest you exclude the test related in your task group for now.

How do we create a link to an Asana workspace

Asana appears to have the following link structure:
https://app.asana.com/A/B/C
How would you build a link to a workspace assuming I have the workspace Id. E.g. a link to to My Tasks in a specific workspace.
These work for other uses, but could not figure it out for workspaces
open a task: https://app.asana.com/0/0/task-id
open a project: https://app.asana.com/0/project-id/project-id
open a tag: https://app.asana.com/0/tag-id/tag-id
Thanks
There isn't really a page that just represents the workspace, and there's no shortcut for "the current viewer's My Tasks in Workspace X". So I'm afraid the answer is "we don't have that right now". :-/

How to set working directory to current workspace?

I am using TFS 2010. In the build process template, I add a new workflow activity InvokeProcess to run a batch file. I need to set the working directory of this InvokeProcess to the workspace directory of the Build agent. Is there any way to do this?
Should be able to use workspace object. Just type workspace and intelisense will kick in. This is built in object that holds the path to the build workspace. Others available are sourcesdirectory and binariesdirectory. Spelling maybe wrong not in front of a pc
I follow this answer and get it resolved: https://stackoverflow.com/a/9564712/3918598
Basically, you will need to create a new local variable SourcesPath at the outter most scope and then consume it wherever you want. Do not name it SourcesDirectory because that name has already been used by some inner activities.

openerp7.0: task without any project

How Can i add a task without mention any project and want to set reminder for that in openerp 7.0 ?
I tried it but not getting enough response.
Please help me to dig out this problem.
Let me know if there is anything else i may help you with.
Thanks
I think its working in 7.0. I just created a task without describing project.
without project you want to add task is worthless.
But you can create task without describing project see if you are providing service than you don't need to create project every time for every customer so you can create task directly through task menu as #Ronak Shows
and you can manage it as well as

Task to User Story

I am using TFS2010 and I have created a bunch of tasks. Is there any way can change Task work items to User Story?
This can't easily be done. The best option would be to copy the existing work item and then select the WI type you want there. Afterwards, you close out the old WI.
Here is a good blog describing the process: HowTo: Changing TFS workitem

Resources