/
Jira 첨부 파일 업로드 차단하기(Attachement Block)

Jira 첨부 파일 업로드 차단하기(Attachement Block)

 문제

Workflow Validator 확장자를 통해 특정 첨부 파일 유형을 차단할 수 있습니다.

 해결책

import com.google.common.io.Files def extensionsToBlock = ['pdf', 'reg'] !issue.attachmentsAddedInTransition.any { attachment -> Files.getFileExtension(attachment.filename).toLowerCase() in extensionsToBlock }

 

ScriptRunner Simple scripted validator 활용

 관련 문서

 

Related content

Confluence Word 문서 가져오기(Import word)
Confluence Word 문서 가져오기(Import word)
Read with this
Jira Automation Rule이 저장되질 않습니다.(cannot save automation rule)
Jira Automation Rule이 저장되질 않습니다.(cannot save automation rule)
More like this
Jira 이슈의 'mentioned in' 필드의 한글이 깨지는 현상 해결하는 방법
Jira 이슈의 'mentioned in' 필드의 한글이 깨지는 현상 해결하는 방법
Read with this
Jira Cloud 첨부 파일 크기(Size) 변경하기
Jira Cloud 첨부 파일 크기(Size) 변경하기
More like this
Confluence Guide(On-premise)
Confluence Guide(On-premise)
Read with this
Jira 디스크 관리 방법(how to manage disk)
Jira 디스크 관리 방법(how to manage disk)
More like this