Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] Reg Mark as completed

If you set a completion date on a task it will be decorated as
completed in the Task List. Take a look at
JiraRepositoryConnector.updateTaskFromTaskData() for an example.

 ITask task = TasksUiInternal.createNewLocalTask("task 1");
 task.setCompletionDate(new Date());

If you are using the web templates connector you can also modify the
regular expression for your query to recognize completed tasks.

Please address everyone on this list in your posts to increase the
chances of triggering other members' interest :).

Steffen


On Tue, Apr 28, 2009 at 10:56 AM, DEEPTI DULLURU
<dullurudeepti@xxxxxxxxx> wrote:
> Hi Steffen,
>
> I am using web conenctor to conenct to my web repository. I wish to
> automatically mark my task as completed if it is in one of the closed
> states.
> Is there any method that I can call which would set it as  completed?
>
> Regards
> Deepti
> _______________________________________________
> mylyn-dev mailing list
> mylyn-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-dev
>
>



-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com


Back to the top