First clone your own repository of the code, and import the project to Eclipse:
Click File, New and choose the Clone Existing Mercurial Repository wizard. Enter your user credentials and the pull URL of the repository, and submit the dialog. (To figure out your pull URL, open up your browser, login to CB, choose your project and click the Source Code tab. The URL will be in the top part.)
All right, at this point the code is already on your computer.
Importing Tasks to Mylyn
Now bring your tasks to Eclipse, or to be precise, to its task management plugin called Mylyn:
Open the Planning perspective in Eclipse.
Open the Task Repositories view, and create a new task repository of the CodeBeamer type. (Your CB server URL is http://localhost:8080/cb by default.)
Open the Task List view, and create a new query. Select the previously created task repository in the first step. Then select your new project, the Task tracker and check Assigned to me. Click Finish.
Your tasks will now appear in Eclipse. For more information on Mylyn, you should start reading here.
Here is where the fun starts. You can go completely offline now.
Activate the task you want to resolve in the Task List view.
Start coding, and commit your changes using the Synchronization View. (Note: the default commit messages offered by the system will contain the ID of the related CB issue. It's a good idea not to leave the reference there, because CB will associate your change sets with your issues, opening up a lot possibilities later.)
Activate another tasks, and work that. Commit these changes, too.
When you are ready to publish your changes back to CB you need to come online again.
Code: switch to Synchronization View and push your source code change sets to Mercurial.
Tasks: simply let the Task List view synchronize with server automatically in the background. Or, if you are in a hurry, select a set of tasks and click Synchronize in the popup menu.
It's that simple! Now you are ready to work offline, on the plane, on your customers' site or on the beach.
We suggest learning more via these links: