# Moving a List to a Project

**URL:** <https://forum.inaturalist.org/t/moving-a-list-to-a-project/64938>\
**Category:** General\
**Created:** [May 9, 2025, 3:29pm UTC](https://forum.inaturalist.org/t/moving-a-list-to-a-project/64938 "2025-05-09T15:29:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [May 10, 2025, 1:34pm UTC](https://forum.inaturalist.org/t/moving-a-list-to-a-project/64938/2 "2025-05-10T13:34:14Z")

</div>

i wrote something a while back that i think will do this: [https://jumear.github.io/stirpy/lab?path=iNat\_update\_project.ipynb](https://jumear.github.io/stirpy/lab?path=iNat_update_project.ipynb).

here’s what you would do:

1. click the link above to open up the Jupyter workbook in a web-based JupyterLite instance.
2. run the first two cells with code in them. the first starts with `# load required modules`, and the second starts with `# define custom functions used for getting data`
3. in the third code cell that begins with `# define the parameters needed for your request`:  
a. set `project_id = 'project-slug'` replacing `project-slug` with the slug of your project  
b. get your JWT by opening [https://www.inaturalist.org/users/api\_token](https://www.inaturalist.org/users/api_token) in your browser while logged into iNaturalist. you’ll get a string that looks something like `{"api_token":"j.w.t"}`. copy the `j.w.t` part.  
c. back in the Jupyter workbook, set `jwt = 'j.w.t'`, replacing `j.w.t` with the value that you copied earlier  
d. run the cell
4. in the next cell that begins `# define the model rules that you want to replicate into your project`, comment out (or delete) the sample rule definitions and add your required rule definition, which i think would be `source_rules['taxon']['include']['ids'] = await get_taxon_ids_from_list(4512268)`. then run the cell.
5. run the next cell that begins `# Compare the source rules vs the existing target project rules`, and this will give you a summary of the changes that will be applied.
6. when you’re ready to finalize the changes, run the next cell that begins `# Execute the request(s)`

the same workbook can also copy rules from another project (instead of from a list), if you wanted to do that instead. (that might help in situations like the one described in [https://forum.inaturalist.org/t/duplicate-project/62144/5](https://forum.inaturalist.org/t/duplicate-project/62144/5) .)

---

_[View the full topic](https://forum.inaturalist.org/t/moving-a-list-to-a-project/64938)._
