fcli icon indicating copy to clipboard operation
fcli copied to clipboard

chore: `ssc av create --from` now supports copy of `IssueTemplate,VersionAttributes,UserAccess`

Open gendry-gh opened this issue 2 years ago • 3 comments

chore: ssc av create --from now supports copy of IssueTemplate,VersionAttributes,UserAccess

By default, the --copy-from feature will copy everything from the source app, now including (with the priority):

  • IssueTemplate (user input > copy-from > system default)
  • VersionAttribute (user input > copy-from > auto-required-attrs)
  • UserAccess (user input > copy-from)

gendry-gh avatar Dec 04 '23 16:12 gendry-gh

If it is possible to merge the fix for the attribute separator right away, it would be amazing!

mathieures avatar Dec 14 '23 15:12 mathieures

If it is possible to merge the fix for the attribute separator right away, it would be amazing!

Unfortunately, it's not that simple. This fix violates existing fcli conventions; all other options that take multiple values use , as the (primary) separator. It may be better to change this fix to stick to the original primary separator and use a different separator between the attribute values, like --attrs ATTR1=ABC|DEF,ATTR2=GHI|XYZ or similar. We'll need to check the impact of such a change though and whether we need to change this in any other places as well (for example, whether there are any other fcli options that take similar 'lists in list' values).

rsenden avatar Dec 14 '23 17:12 rsenden

Below fix to be moved to another PR: #491

fix: ssc create: the --attrs now supports multiple attributes with multiple values

gendry-gh avatar Dec 18 '23 09:12 gendry-gh

A slightly different implementation is now already available in develop branch, so closing this PR.

rsenden avatar Jul 26 '24 07:07 rsenden