Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
3.12.2
-
3.12
-
Description
Try to run the following Jelly Script in Jelly Runner. This is the screenshot-1 of the Jelly Runner before the script is executed. This script contains the invalid user password:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log" > <jira:Login username="admin" password="password"> <!-- Properties for the script --> <core:set var="comment">This issue has not been updated for 7 days or more. * If you have no other questions, please select "Close Issue" * If you want to continue discussion, please select "Reopen Issue" * If you need more time, please select "Freeze Issue" If this issue is not updated in the next 7 days, it will be automatically closed.</core:set> <core:set var="workflowStep" value="5" /> <core:set var="workflowUser" value="admin" /> <core:set var="filter7Days" value="10000" /> <!-- Run the SearchRequestFilter --> <jira:RunSearchRequest filterid="${filter7Days}" var="issues" /> <core:forEach var="issue" items="${issues}"> <jira:TransitionWorkflow key="${issue.key}" user="${workflowUser}" workflowAction="${workflowStep}" comment="${comment}"/> </core:forEach> </jira:Login> </JiraJelly>
As the result, this is the screenshot-2 of the browser just after the Jelly Script is executed. By clicking on any link will restore back the menus correctly. Please see the screenshot-3 for a clearer picture. JIRA is successfully perform the workflow transition.
However, with this invalid password, JIRA should fail the Jelly Runner and display the related error message.
Attachments
Issue Links
- is related to
-
JRASERVER-14576 Running Jelly service should handler error message properly if there is an invalid password being defined in Jelly Script
- Closed