최근 검색
최근 검색 없음

DigitalMan
가입한 날짜: 2023년 11월 10일
·
마지막 활동: 2023년 11월 11일
팔로잉
0
팔로워
0
총 활동 수
4
투표
1
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 DigitalMan
DigitalMan님이 에 댓글을 입력함
By re-reading the top of this Article, (Ive cut and past the key bits) I now see User and Organisation custom fields - That also use Drop downs need the suffix of .title
(Something not needed for Tciket custom fields using drop downs)
Anton - Thank you so much for a great article -
Ticket custom drop-down fields
Ticket custom multi-select fields |
{{ticket.ticket_field_option_title_}}
{{ticket.ticket_field_}}
Note: The {{ticket.ticket_field_option_title_}} placeholder displays the title of the selected options while {{ticket.ticket_field_}} displays the tags associated with the selected options.
|
User custom drop-down fields | {{ticket.requester.custom_fields..title}} |
Organization custom drop-down fields |
{{ticket.organization.custom_fields..title}} |
댓글 보기 · 2023년 11월 11일에 게시됨 · DigitalMan
0
팔로워
0
투표 수
0
댓글
DigitalMan님이 에 댓글을 입력함
I'm pulling my hair out on this one
I've created a custom field under organisations called org_support_level
Its a Drop down field
For my current testing, that field is set to the drop down value silv_test
Here's the body of my email (The code for the purposes below is bullet pointed for ease of reading and the bold is me describing whats happening
- {{ticket.organization.custom_fields.org_support_level}}
- {{ticket.organization.custom_fields.org_support_level}}
- {{ticket.organization.custom_fields.org_support_level}}
- {{ticket.organization.custom_fields.org_support_level}}
when the above 4 lines execute the following is output (which proves my 'placeholder' is correctly populated and I can get the text from the drop down to be out put
silv_test
silv_test
silv_test
silv_test
then I want to Test for the drop down and if it equals silv_test output the line YOUR TICKET IS SILVER SUPPORT LEVEL
- {% if {{ticket.organization.custom_fields.org_support_level}} =='silv_test' %}
- Your ticket is Silver Support Level
- {% endif %}
Yet - absolutely nothing happens
I have tried something similar , but used a custom Organisation field that is text (and not a drop down) and it works perfectly
댓글 보기 · 2023년 11월 11일에 게시됨 · DigitalMan
0
팔로워
0
투표 수
0
댓글