최근 검색


최근 검색 없음

Michael Thomas's Avatar

Michael Thomas

가입한 날짜: 2022년 5월 23일

·

마지막 활동: 2022년 6월 24일

팔로잉

0

팔로워

0

총 활동 수

20

투표 수

2

플랜 수

5

활동 개요

님의 최근 활동 Michael Thomas

Michael Thomas님이 에 댓글을 입력함

댓글More integrations

Any update when there will be able to export the logs? Right now viewing the logs there a browser integration issue where you need to close the side bar to continue scrolling down.

댓글 보기 · 2022년 6월 24일에 게시됨 · Michael Thomas

0

팔로워

0

투표 수

0

댓글


Michael Thomas님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

Thanks for the code, but this will not work in my case, as I want to warn them before the submit, so as they add new CC I want do my check, so that why i was listening to the ticket.collaborators.changed, I might know the reason why organization array is empty, I just have to do a few test.

댓글 보기 · 2022년 6월 21일에 게시됨 · Michael Thomas

0

팔로워

0

투표 수

0

댓글


Michael Thomas님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

Hi Greg,

Reason why I want to listen to the event listener, is I want to warn the user before they save the ticket, that they're about to send a message to someone who is not in the requestors organization. So using the method instead will be after the fact which is to late.


Here is my github path for project https://github.com/mthomas-github/zd_cc_app

댓글 보기 · 2022년 6월 20일에 게시됨 · Michael Thomas

0

팔로워

0

투표 수

0

댓글


Michael Thomas님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)
const CORE_ENDPOINTS = {
ticketcollaboratorschanged: 'ticket.collaborators.changed',
ticketrequestororganizations: 'ticket.requester.organizations',
organizationmemberships: 'organization_memberships'
}

댓글 보기 · 2022년 6월 17일에 게시됨 · Michael Thomas

0

팔로워

0

투표 수

0

댓글


Michael Thomas님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)
async _handleCollaboratorsChanged(data) {
const ticketRequestOrganizations = (await this._client.get(CORE_ENDPOINTS.ticketrequestororganizations))[CORE_ENDPOINTS.ticketrequestororganizations];
const collaboratorsOrganizations = (await this._getCollaboratorsOrganizations(data));
console.log(collaboratorsOrganizations);
}
 
async _getCollaboratorsOrganizations(collaborators) {
const collaboratorsOrganizations = [];
var coll = new Promise((reslove, reject) => {
collaborators.forEach(async collaborator => {
const collaboratorOrganizations = (await this._client
.request(API_ENDPOINTS.organization_members + collaborator.id + '/organization_memberships.json')
.catch(this._handleError.bind(this)))[CORE_ENDPOINTS.organizationmemberships]
Promise.all(collaboratorOrganizations).then(x => {
console.log(x);
});
if (collaboratorOrganizations.length != 0) {
if (collaboratorOrganizations.length > 1) {
collaboratorOrganizations.forEach(organization => {
collaboratorsOrganizations.push({
organization_id: organization.organization_id,
organizattion_name: organization.organization_name,
})
})
} else {
collaboratorsOrganizations.push({
organization_id: collaboratorOrganizations[0].organization_id,
organizattion_name: collaboratorOrganizations[0].organization_name,
});
}
} else {
console.log('Did Not Get Collaborator Organizations');
}
});
reslove(collaboratorsOrganizations);
});

coll.then((value) => {
return value;
})
}

댓글 보기 · 2022년 6월 17일에 게시됨 · Michael Thomas

0

팔로워

0

투표 수

0

댓글


Michael Thomas님이 에 게시물을 만듦

게시물 Developer - Zendesk Apps Framework (ZAF)

Hello

I've issue I have created an app using ZCLI, and I listening to 'ticket.collaborators.changed' and what I notice is Organization array is empty every time even time a collaborator is added, I just want to know if this known issue or will not return the organization in the array.

2022년 6월 17일에 게시됨 · Michael Thomas

0

팔로워

2

투표 수

10

댓글


Michael Thomas님이 에 게시물을 만듦

게시물 Developer - Zendesk Apps Framework (ZAF)

Hello

 I have developed a ZIS Integration and looking to use a Config setting within the jq Match(), I was wondering if it was possible to use a value from my Config that is the search pattern?

 

2022년 6월 13일에 게시됨 · Michael Thomas

0

팔로워

1

투표

0

댓글


Michael Thomas님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

Hi Eric,

I'm looking away to filter the tickets that are returned based on a certain tag, so instead of showing a use all tickets I only with show them ticket with "x tag" is this possible? 

댓글 보기 · 2022년 5월 31일에 게시됨 · Michael Thomas

0

팔로워

0

투표 수

0

댓글


Michael Thomas님이 에 게시물을 만듦

게시물 Developer - Zendesk Apps Framework (ZAF)

With a custom app is possible to intercept the open ticket view and return my own ticket based on a tag and custom role?

2022년 5월 26일에 게시됨 · Michael Thomas

0

팔로워

2

투표 수

2

댓글


Michael Thomas님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

I just created a user with a custom Role, he currently has 1 person in his organization when I search for a user not in his Org on CC's its returned.

 

댓글 보기 · 2022년 5월 24일에 게시됨 · Michael Thomas

0

팔로워

0

투표 수

0

댓글