We need to clone issues within the same project (same workflow).
The clone issue must retain the same original status of the cloned one.
We are trying to implement this feature with Automation.
The steps should be straightforward, as in the attached screenshot:
1. Trigger rule When Issue Created
2. If Link Issues present clones (within project)
3. The Transition the issue to COPY FROM ISSUE
The last COPY FROM ISSUE, as stated by the "Transition issue" action inner description, should take the status from the cloned issue and try to use it as destination status for the clone one.
Both cloned and clone issues share the same workflow.
In the workflow the "Automation for Jira" actor is enabled for transition.
The transition from created status to destination status exist.
However the last action (the Transition itself) of the rule fails with this log:
Transition issue
Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID or untranslated name for issues (with current status):
Why? What are we missing?
This is a very simple feature, so please don't propose external apps for cloning the issue.
We can use ScriptRunner in case it is needed
