-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
3.5.3
-
3.05
-
Input: (this used to work fine in previous versions)
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib"> <jira:CreateIssue project-key="HSP" assignee="-1" summary="Issue summary"/> </JiraJelly>
Output: (It knows the user that executed the script is admin - so username should be set in the context)
<JiraJelly xmlns:jira='jelly:com.atlassian.jira.jelly.JiraTagLib'> <Error action='CreateIssueDetails'> <TagContents>((summary=Issue summary)(project-key=HSP)(assignee=-1))</TagContents> <ExecutedAs>user=admin</ExecutedAs> <ErrorMessage>Tag CreateIssue requires (jelly.username, jelly.project.id) variables to be set in the Context</ErrorMessage> </Error> </JiraJelly>
Workaround Wrap the script within the Login tag.
<jira:Login username="admin" password="admin"> ... </jira:Login>
The workaround fixes the error, however in this case, it doesnt seem to be needed...?
- is related to
-
JRASERVER-5620 CreateIssue with non-default reporter fails
- Closed