Details
-
Bug
-
Resolution: Cannot Reproduce
-
Low
-
5
-
Severity 3 - Minor
-
Description
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
Summary:
If the default jira workflow is copied and a transition is cloned with a different name, the cloned name will appear in the issue view screen for the transition buttons.
E.g when I clone a transition, and specify a new name, the new transition keeps the old transition's name, so I have two (for example) 'Start Progress' buttons.
Steps to Reproduce:
- Copy the jira system workflow.
- Edit it with the workflow designer.
- Add a new transition, cloning the Start Progress Transition, providing it with a different name.
- Create a new workflow scheme, assigning the new workflow to it and then assign it to a project.
- View an issue in the appropriate status for that transition. The transition will not have the new name.
Expected Results:
The transition has the name as defined within the workflow designer.
Actual Results:
The new transition has the name of the cloned transition. This appears to be caused by cloning the following elements:
<meta name="opsbar-sequence">20</meta> <meta name="jira.i18n.title">stopprogress.title</meta>
Regression:
Not a regression. This is not existant in the ViewWorkflowSteps.jspa editor as that functionality is not available. Tested back to 4.4.5 and this was present.
Notes:
XML of a transition created from scratch:
<action id="731" name="New Transition"> <meta name="jira.description"></meta> <results> <unconditional-result old-status="Not Done" status="Done" step="3"> <post-functions> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg> <arg name="eventTypeId">13</arg> </function> </post-functions> </unconditional-result> </results> </action>
XML of a cloned transition:
<action id="711" name="I HAS A DIFFERENT NAME"> <meta name="opsbar-sequence">20</meta> <meta name="jira.i18n.title">stopprogress.title</meta> <meta name="jira.description"></meta> <restrict-to> <conditions> <condition type="class"> <arg name="class.name">com.atlassian.jira.workflow.condition.AllowOnlyAssignee</arg> </condition> </conditions> </restrict-to> <results> <unconditional-result old-status="Not Done" status="Done" step="4"> <post-functions> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction</arg> <arg name="field.value"></arg> <arg name="field.name">resolution</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg> </function> <function type="class"> <arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg> <arg name="eventTypeId">12</arg> </function> </post-functions> </unconditional-result> </results> </action>
Workaround:
To update the title of the button, Please follow the steps below:
- Choose Cog > Issues
- Choose 'Workflows' under the WORKFLOWS section
- Click the Edit link in the desired workflow
- Click the link of the transition with the wrong title
- Click View Properties
- Delete the jira.i18n.title property from the transition.
Attachments
Issue Links
- causes
-
JRACLOUD-27275 When cloning a transition doesn't update the title that appears in transition button
- Closed
- is related to
-
JRASERVER-30643 Cloning a transition does not update the title of the button in the view issue screen
- Gathering Impact