Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Hello,
as found also on Scriptrunner docu ( https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/validators/validate-attachments-links-in-transition.html ) we make use of getTemporaryWebAttachmentsByFormToken which requires a formToken.
The approach works well, as long as the user creates the issue initiated by the "Create" button and selecting the right project and issue-type.
But, if the user starts the dialog by direct access via URL, such like: https://my.jira.host/secure/CreateIssue.jspa?pid=99999&issuetype=99999
the formToken, which we should get by:
def formToken = ActionContext.getRequest()?.getParameter(IssueFieldConstants.FORM_TOKEN)
is NOT set.
Any idea, what the difference is and how we could overcome?
Thanks in advance