I’m successfully using the https://developer.atlassian.com/platform/forge/apis-reference/dynamic-modules/ API, but I have a problem that my dynamic entity properties are not properly synced. The definition for a working and not working modules are
Working
{
"key": "aggregator-43f05283-1ab4-400d-afe5-406d06e1e462-customfield_10001",
"type": "jira:entityProperty",
"data": {
"propertyKey": "pwhierarchies.aggregator.43f05283-1ab4-400d-afe5-406d06e1e462.customfield_10001",
"entityType": "issue",
"key": "aggregator-43f05283-1ab4-400d-afe5-406d06e1e462-customfield_10001",
"values": [
{
"type": "string",
"path": "customfield_10001.name",
"searchAlias": "hierarchyEpicsAggregatedTeam"
}
]
}
}
Not working
{
"key": "customaggregator-43f05283-1ab4-400d-afe5-406d06e1e462-pwhierarchies-system-pending-team",
"type": "jira:entityProperty",
"data": {
"propertyKey": "pwhierarchies.customaggregator.43f05283-1ab4-400d-afe5-406d06e1e462.pwhierarchies-system-pending-team",
"entityType": "issue",
"key": "customaggregator-43f05283-1ab4-400d-afe5-406d06e1e462-pwhierarchies-system-pending-team",
"values": [
{
"type": "string",
"path": "result.name",
"searchAlias": "hierarchyEpicsPendingTeam"
}
]
}
}
Properties
And the properties of an issue (HT-11) are
{
"key": "pwhierarchies.aggregator.43f05283-1ab4-400d-afe5-406d06e1e462.customfield_10001",
"value": {
"customfield_10001": [
{
"avatarUrl": "https://teams-directory-frontend.prod-east.frontend.public.atl-paas.net/assets/teams/avatars/v4/lime_no-highlight_3.svg",
"isVerified": false,
"name": "QA",
"id": "0dd6a03a-e100-458a-b879-89f6f09c8848",
"isVisible": true,
"title": "QA",
"isShared": true
},
{
"avatarUrl": "https://teams-directory-frontend.prod-east.frontend.public.atl-paas.net/assets/teams/avatars/v4/red_no-highlight_4.svg",
"isVerified": false,
"name": "Developers",
"id": "0489f6ae-bbb9-4d29-b603-19274bf35e5b",
"isVisible": true,
"title": "Developers",
"isShared": true
},
{
"avatarUrl": "https://teams-directory-frontend.prod-east.frontend.public.atl-paas.net/assets/teams/avatars/v4/purple_no-highlight_4.svg",
"isVerified": false,
"name": "Bots",
"id": "9f1c88c2-f682-4ab2-8a39-7d57befd8581",
"isVisible": true,
"title": "Bots",
"isShared": true
}
]
}
}
{
"key": "pwhierarchies.customaggregator.43f05283-1ab4-400d-afe5-406d06e1e462.pwhierarchies-system-pending-team",
"value": {
"result": [
{
"avatarUrl": "https://teams-directory-frontend.prod-east.frontend.public.atl-paas.net/assets/teams/avatars/v4/lime_no-highlight_3.svg",
"isVerified": false,
"name": "QA",
"id": "0dd6a03a-e100-458a-b879-89f6f09c8848",
"isVisible": true,
"title": "QA",
"isShared": true
},
{
"avatarUrl": "https://teams-directory-frontend.prod-east.frontend.public.atl-paas.net/assets/teams/avatars/v4/purple_no-highlight_4.svg",
"isVerified": false,
"name": "Bots",
"id": "9f1c88c2-f682-4ab2-8a39-7d57befd8581",
"isVisible": true,
"title": "Bots",
"isShared": true
}
]
}
}
In the JQL search input I got both search aliases properly listed and autocompleted with the potential values, but no result on the second one, the first one does work. I tried forcing an update on the issue, waited but nothing. Are there any restriction on the key format, or something else I’m missing to make this work?
Regards