# New Install Callback Fields

**URL:** <https://community.developer.atlassian.com/t/new-install-callback-fields/33045>\
**Category:** Announcements\
**Tags:** jira-cloud, atlassian-connect, confluence-cloud\
**Created:** [October 31, 2019, 12:46am UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045 "2019-10-31T00:46:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmacneill](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/cmacneill/32/36089_2.png) [@cmacneill](https://community.developer.atlassian.com/u/cmacneill)\
**Post date:** [October 31, 2019, 12:46am UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/1 "2019-10-31T00:46:20Z")

</div>

Hi, I just wanted to highlight a [blog post](https://blog.developer.atlassian.com/ecosystem-support-for-custom-domains/) which is relevant to app vendors.

We will be adding some new fields to the install payload to inform apps if an instance is associated with a **custom domain name**. Unless your app is strictly validating the content of the install payload the addition of these fields should not cause any problems.

For the most part we do not expect apps to need the information in these fields. It is provided for any cases where an app needs to render links, server side, using the custom domain.

Initially these fields will contain the same value as the baseURL field. There will be followup notices when we start to populate these fields with distinct values. In the interim the fields may or may not be present for a given instance as we rollout this support. Apps should not require these fields to be present.

Please let me know if you have questions or concerns

---

<div class="post-metadata">

**Author:** ![boris](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/boris/32/33588_2.png) [@boris](https://community.developer.atlassian.com/u/boris)\
**Post date:** [October 31, 2019, 9:15pm UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/2 "2019-10-31T21:15:00Z")

</div>

Has this been tested with ACE?

---

<div class="post-metadata">

**Author:** ![cmacneill](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/cmacneill/32/36089_2.png) [@cmacneill](https://community.developer.atlassian.com/u/cmacneill)\
**Post date:** [November 19, 2019, 3:35am UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/3 "2019-11-19T03:35:14Z")

</div>

@boris The new fields will not cause an ACE based app any issues. While the new fields will not cause any issues, I do note that the current version of ACE will not take any action to store or use these fields.

---

<div class="post-metadata">

**Author:** ![sfg](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@sfg](https://community.developer.atlassian.com/u/sfg)\
**Post date:** [December 6, 2019, 7:34pm UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/4 "2019-12-06T19:34:09Z")

</div>

Hello @cmacneill,

One of our plugin is based on Atlassian-connect-spring-boot. We are using **AtlassianHostUser -\> baseUrl** property to extract the URL prefix of the Atlassian product instance. We use this base Url for generating some links. Will this property reflect the updated value after the custom domain / site rename changes?

Also ACE - injects context variables into the rendering context which includes **hostBaseUrl**. Can you please confirm that the hostBaseUrl will contain the correct value after the custom domain / site rename changes?

Thanks!!

---

<div class="post-metadata">

**Author:** ![cmacneill](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/cmacneill/32/36089_2.png) [@cmacneill](https://community.developer.atlassian.com/u/cmacneill)\
**Post date:** [December 9, 2019, 11:25pm UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/5 "2019-12-09T23:25:01Z")

</div>

@sfg The baseUrl field will continue to refer to the [xxx.atlassian.net](http://xxx.atlassian.net) site URL and will not reflect any custom domains applied to a site. This is the URL you should use for any REST API calls. The same will apply to the ACE framework.

For rendering links, serverside, you should use the new displayUrl field when it becomes available. We’ve delayed the rollout of the new fields as discussed in [ETA for custom domain lifecycle payload changes - #13 by tbatagiannis](https://community.developer.atlassian.com/t/eta-for-custom-domain-lifecycle-payload-changes/33371/13)

---

<div class="post-metadata">

**Author:** ![sfg](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@sfg](https://community.developer.atlassian.com/u/sfg)\
**Post date:** [December 10, 2019, 4:37am UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/6 "2019-12-10T04:37:51Z")

</div>

@cmacneill , Thanks for the update.

Wanted to make sure I understand it correctly : When the site rename happens or a custom domain is added to the site, the installed webhook event will be called behind the scenes which will update the record in the **atlassian\_host** table with the new payload (which will contain the ‘displayUrl’ ).

No changes are required on the plugin side unless we need to generate custom links on the server side. In that case we need to consume the displayUrl (when available) which may or may not be same as the baseUrl.

---

<div class="post-metadata">

**Author:** ![cmacneill](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/cmacneill/32/36089_2.png) [@cmacneill](https://community.developer.atlassian.com/u/cmacneill)\
**Post date:** [December 10, 2019, 11:24pm UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/7 "2019-12-10T23:24:51Z")

</div>

@sfg Yes, your understanding is correct.

---

<div class="post-metadata">

**Author:** ![george1](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/george1/32/39506_2.png) [@george1](https://community.developer.atlassian.com/u/george1)\
**Post date:** [March 26, 2020, 12:25am UTC](https://community.developer.atlassian.com/t/new-install-callback-fields/33045/8 "2020-03-26T00:25:35Z")

</div>

How about domain whitelist in atlas connect express? [[ACEJS-154] - Ecosystem Jira](https://ecosystem.atlassian.net/browse/ACEJS-154)

```auto
// Make sure that your add-on can only be registered by the hosts on
// these domains.
  "whitelist": [
      "*.jira-dev.com",
      "*.atlassian.net",
      "*.jira.com"
    ]

```
