April 13th, 2020 by inflectra
Several of our users have mentioned that in Spira we have different options for duplicating items, including Copy, Clone and for some artifacts Split. In this article we shed some light on the different options and how you can use them.
In older versions of Spira we used to use the labels Copy and Clone somewhat interchangeably, but since v5.0 we have made sure to be consistent in how they work and behave so that users can have confidence how they will work regardless of the page they are on, or the artifact they are working with. We also introduced the concept of the Split operation specifically for tasks and requirements where you have work that is too large for a single requirement or task, and you want to complete one part and separate out the remaining work.
In the next sections, we'll discuss how each of these work in turn.... first up attack of the clones....
The clone command is the simplest option we have in Spira for making a copy of something. When you click the Clone button on the toolbar (on both the list or detailed pages) it will make an immediate copy of the selected item. If you are working with a hierarchical artifact such as a requirement, you usually only get the Clone button on the details page:
Clicking the Clone button will make an immediate copy of the current item (with the name suffixed by "- Copy") right next to the current item. Usually it will be in the same requirement branch/sub-tree, located just above the current item.
If you are working with an artifact that uses folders (e.g. test cases) rather than being hierarchical, it works the same way - the Clone button will be only on the details page:
When you click the Clone button, the system will make an immediate copy, apply the suffix "- Copy" to the copied item, and put the copy in the same folder as the original item:
Since the copied item has the same name as the orginal, with a suffix added, it will be typically appear right after the original assuming that you are sorting by name ascending.If you are sorting by another field, then it will appear wherever the new name would naturally appear according to the current sort.
Note: If you clone a folder or clone a parent requirement (that contains children), we only add the "- Copy" suffix to the top-level item. We found that this is much better, as otherwise you might have to rename hundreds of items in the current folder.
That's great, but what happens if you are on the list page of an artifact that is either hierarchical (requirements, releases) or has folders (test cases, test sets, tasks, and documents)? Well you often want to make a copy and put it in a specific folder or locate the copy under a specific existing item. That's where the Copy...Paste option comes in.
When you select items in the list page and choose Copy, nothing much actually happens. If you were expected a copy to be made, you would be disappointed!
What actually happens is that Spira simply stores your current selection on the internal clipboard. The magic happens next...
Now what you can do, is locate the place where you want the copied items to appear and click Paste:
For items that are hierarchical, the copied items will appear inside the selected branch, just before the selected item. I.e. in this example, the copied items will appear in between "Edition Management" and "Ability to create different editions". For items that are folder based, they will be pasted into the current folder. Now that leads to another question...
Well for those artifacts that are neither hierarchical, nor have folders (incidents and test runs we're looking at you!), there is no place you can actually paste the items, so in fact there is no Copy and Paste option, just the simple Clone option that we would see on the details pages:
So that makes sense...
Now we need to discuss the new kid on the block.... Split ... this is a more specialized type of copy. It is usually used when you have:
In this case, you want to copy the item, but automatically apportion some of the effort (story points for requirements, hours for tasks) to the new item, and leave some of the effort associated with the existing one.
To do this, simply click on the item in question (in our example we are considering a requirement) and click on the Split option in the Tools menu:
This will bring up the dialog box that lets you decide how you want to split the work:
Once you confirm the split, the system will make a copy of the original item, with the new name:
The Owner (assignee) will be the same or different, depending on which option you chose, the item will appear right below the original in the list, and the estimate of the new item and old item will be apportioned based on how much effort you allocated to the new item. The total of the new and old items will match the total estimate of the original.
Finally, the system will add an association link between the original and split off item so that you won't forget about why you did the split in the future:
So now you know about copying, cloning and splitting....let us know if there are other parts of the system that we could write an article on....
Ask an Inflectra expert:
And if you have any questions, please email or call us at +1 (202) 558-6885
SpiraTest combines test management, requirements traceability & bug-tracking
SpiraTeam brings your teams together, managing the entire application lifecycle
SpiraPlan lets you manage your programs and portfolio of projects like never before
Orchestrates your automated regression testing, functional, load and performance
The ultimate test automation platform for web, mobile, and desktop applications
The help desk system, designed specifically for software support teams
Cloud hosted, secure source code management - Git and Subversion
Exploratory testing capture tool that automatically records your testing activity
Let us deal with the IT pain so you don't have to. Or use on-premise if you prefer.
Our customers work in every industry imaginable. From financial services to healthcare and biotech to government and defense and more, we work with our customers to address their specific needs.
Our products do not enforce a methodology on you, instead they let you work your way. Whether you work in agile development, Scrum, XP, Kanban and Lean, Waterfall, hybrid, or Scaled Agile Inflectra can help.
If you want to learn more about application delivery, testing, and more take a look at our whitepapers, videos, background papers, blog, and presentations.
Our suite of Accelerators speed up your deployment and adoption of our products, increasing your return on investment and reducing the cost of ownership.
We collaborate with a wide range of teams to bring our customers a range of services (including load testing, training, and consultation), complimentary technologies, and specialized tools for specific industries.
Learn how different organizations have benefited from using Inflectra products to manage their software testing and application develooment.
Outstanding support is the foundation of our company. We make support a priority over all other work. Take a look at our support policy.
Discover great tips, discussions, and technical solutions from fellow customers and Inflectra's technical experts.
If you can't find the answer you're looking for, please get in touch with us: over email, phone, or online.
We are constantly creating new videos to help customers learn about our products, including through in depth webinars, all freely available along with a wide selection of presentations.
We provide a number of resources to help customers learn how to get the most out of our products, with free online resources, virtual classrooms, and face to face.
Read about Inflectra, our manifesto, and values. Meet our incredible customers who are building awesome things, and our leadership team that are committed to building a great company.
The Inflectra Blog contains articles on all aspects of the software lifecycle.
In addition we have whitepapers,
background articles, videos and
presentations to help get you started.
Events are a big part of our awesome customer service. They are a chance to learn more about us, our products, and how to level up your skills with our tools.
We partner with educational institutions and individuals all over the world. We are also a great place to work and encourage you to explore joining our team.
Please contact us with your questions, feedback, comments, or suggestions. We'll get back to you as soon as possible.
When you need additional assistance (be it training, consulting, or integration services) our global certified solution provider partner network is ready to help.
At Inflectra, we are fully committed to provide our customers with the very best products and customer service. Check out some of our recent awards.
We want to help developers extend and customize our tools to fit in with their needs. We provide robust APIs, sample code, and open source projects.