# Copy request attributes/service naming rules between Dynatrace environments

**URL:** <https://community.dynatrace.com/t/copy-request-attributes-service-naming-rules-between-dynatrace-environments/20543>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, services-classic, request-attributes\
**Created:** [October 12, 2020, 11:18pm UTC](https://community.dynatrace.com/t/copy-request-attributes-service-naming-rules-between-dynatrace-environments/20543 "2020-10-12T23:18:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshKumarK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sureshkumark/32/11469_2.png) [@sureshKumarK](https://community.dynatrace.com/u/sureshKumarK)\
**Post date:** [October 12, 2020, 11:18pm UTC](https://community.dynatrace.com/t/copy-request-attributes-service-naming-rules-between-dynatrace-environments/20543/1 "2020-10-12T23:18:41Z")

</div>

Hi, I am trying to copy the Request attributes and Service naming rules from QA Dynatrace Environment to PROD Dynatrace Environments across all datacenters. Please suggest if there is a way I can do import/export instead of manually creating the same rules in each Environment/Datacenter? Appreciate your help! Thanks, Suresh.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 13, 2020, 5:31am UTC](https://community.dynatrace.com/t/copy-request-attributes-service-naming-rules-between-dynatrace-environments/20543/2 "2020-10-13T05:31:05Z")

</div>

Hi Suresh!

This is the typical use case for REST API:

[https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/request-attributes-api](https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/request-attributes-api/)

Get the configuration from one environment and PUT it to the other. Same with service naming rules.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 13, 2020, 6:21am UTC](https://community.dynatrace.com/t/copy-request-attributes-service-naming-rules-between-dynatrace-environments/20543/3 "2020-10-13T06:21:29Z")

</div>

Don’t forget you can also do a POST instead of PUT and use the same UUID identifier for the rules between environments. This will save you a lot of time and effort when trying to update the rules between tenants. Otherwise you will have different identifiers in each environment and this will be a nightmare to update and maintain.

---

<div class="post-metadata">

**Author:** ![sureshKumarK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sureshkumark/32/11469_2.png) [@sureshKumarK](https://community.dynatrace.com/u/sureshKumarK)\
**Post date:** [December 14, 2020, 11:43pm UTC](https://community.dynatrace.com/t/copy-request-attributes-service-naming-rules-between-dynatrace-environments/20543/4 "2020-12-14T23:43:59Z")

</div>

Thanks [@Radoslaw S.](https://community.dynatrace.com/users/5499/view.html) [@Július L.](https://community.dynatrace.com/users/16467/view.html) Do we know whether there is an API available for Request naming at the Service level? I see it is available for Global request naming only. If there is no API available, could you suggest the best approach for the following?

[Defining request naming rules Globally or at Service level?](https://community.dynatrace.com/post/119984)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 15, 2020, 6:45am UTC](https://community.dynatrace.com/t/copy-request-attributes-service-naming-rules-between-dynatrace-environments/20543/5 "2020-12-15T06:45:31Z")

</div>

No at the moment you can only use global naming rules. However, you can leverage service properties or tags to narrow down and specify list of services where these rules should apply.
