►
Description
Sameer Kamani walks us through what you need to know about Group export and import with API
A
All
right
so
group,
import
and
export.
This
is
actually
something
that
we
in
the
federal
space
are
very,
very
interested
in,
because
we
have
a
lot
of
customers
that
take
a
bunch
of
project
from
one
instance
and
move
it
over
to
another
instance,
particularly
for
security
reasons.
We
have
a
lot
of
that
movement
going
on.
So
up
until
now,
we
were
able
to
move
projects
around
now
with
groups.
We
should
be
able
to
move
things
like
milestones:
labels,
badges
epics,
all
of
that
can
move
together.
So
this
is
actually
very
exciting
functionality.
A
Unfortunately,
I
couldn't
get
enough
time
to
write
in
an
app
that
would
actually
demonstrate
this
very
clearly,
but
what
I
have
done
is
I
have
constructed
postman
requests
to
actually
present
this
so
similar
to
how
a
lot
of
our
export
functionality
works.
There's
the
API
endpoint,
where
you
describe
the
specific
ID
that
you
want
and
then
the
endpoint
has
an
export
function
into
it
and
when
you
send
that
in
so
this
will
be
a
post
method.
A
So
this
is
something
that's
a
gotcha
right,
so
it's
a
post
for
when
you
want
to
post
at
the
export
function,
and
then
it's
a
get
when
you
want
to
download
that.
So
just
remember
that
this
took
me
a
little
while
to
figure
out
I
kept
doing
get
for
sending
in
the
request,
and
it
was.
It
was
incorrect.
So
when
you
do
the
post,
what
it
does
is
that
is
essentially
sends
a
request
to
get
lab.
It
says
please
export
this
product.
A
This
group
out
I,
actually
went
and
found
the
ID
of
the
group,
which
is,
if
you're
not
familiar
with
where
that
is
its.
If
you
go
to
the
specific
group
that
you're
looking
at
up
at
the
top
there's
a
group
ID
that
is
displayed,
so
you
can
just
take
that
number
and
then
stick
that
in
or
if
you
want
to
do
it
more
programmatically,
there's
a
way
to
actually
query
for
groups
and
then
get
this
group
ID,
and
let's
take
that
it.
A
So
once
that
happens,
there's
a
202
accepted
message
that
comes
back,
which
is
a
standard
message
that
says
yep.
Thank
you
for
your
request.
I
acknowledge
that
I've
got
it,
but
I
have
nothing
more
to
tell
you.
I
cannot
tell
you
when
I'll
be
done
with
it,
etc.
Excite
us.
So
it's
a
little
bit
of
a
hit
or
miss,
and
it
depends
on
how
big
the
group
is
and
how
much
data
is
there
and
how
much
load
there
is
on
the
server
that
it
might
take
some
time
for
it
to
actually
prepare
and
extract
it.
A
A
So
it's
an
export
download
function
that
you
invoke,
and
basically
so
I'll
do
said
and
download,
and
what
we'll
do
is
it'll
send
the
request
and
out
comes
a
gz
file,
which
is
the
extracted
group
structure
into
the
file,
and
then
you
can
take
this
gz
file
and
then
upload
it
back
up
with
shot.
I
didn't
have
a
place
to
upload
it.
So
I
will
just
kind
of
demonstrate
it
and
by
way
of
the
documentation
over
here,
but
basically
in
the
import,
you
do
a
groups
import.
A
You
call
that
endpoint
with
the
name
and
the
path
of
where
you
want
to
put
it
in.
So
that's,
basically
a
form
form
field
that
you
pass
in
with
the
name
and
the
path
of
the
imported
group
and
then
the
file
name.
So
the
only
trick
with
the
file
name
is,
you
have,
to
put
this
add
sign
in
the
path
and
then
once
you
put
that
in
it
will
basically
take
that
and
and
import
that
group
to
wherever
you
want
it
to
import.
There
are.
A
This
is
still
the
first
round
of
this
functionality,
so
there
are
still
some
kinks
to
be
worked
out
like,
for
example,
if
you
re
in
port
that
group
what
happens
currently,
there
will
be
a
clash
in
namespace
and
it
will
it
will
just
and
a
fail.
It
will
not
actually
update
it.
So
I
think
that
that's
coming
and
next
in
terms
of
how
that
would
function.
Any
questions
on
this
Samir.
B
C
C
It
actually
does
it
should
traverse
down
into
any
of
the
subgroups.
It's
like.
We've
integrated
the
group
export/import
MVC
into
congregate
so
far,
and
when
we
migrated,
we
just
pointed
a
top-level
group
and
make
the
request
and
it
builds
out
that
structure
all
right
headers
on
the
call
I
can
correct
me
if
I'm
wrong,
but
that's
how
we've
we've
changed
our
logic
for
that.
That's.
A
In
the
document
like
the
first
line,
it
says
is
allows
you
to
export
group
structure
and
import
it
into
the
new
location
so
that
the
structure
I'm
implying
it
to
be
the
entire
group
structure.
But
then
it
says
when
use
the
project
import/export,
you
can
preserve
the
connection.
So
that's
a
separate
function
that
you
need
to
still
perform
to
do
the
projects
so.
E
F
C
A
C
There's
this
one
an
MVC
for
us
to
get
through
a
current
migration,
so
they
focus
on
group
structure.
First,
just
the
structure
because
we
have
the
project:
export/import
they're,
currently
refactoring
the
export/import
api's,
with
a
under
the
memory
team
to
make
it
more
efficient,
so
I
think
that's
why
they
kind
of
said
group
structure
first
get
that
done,
because
then
the
refactoring,
the
import,
a
P
I
for
just
the
project's
next.
So
it's
a
lot
more
memory
efficient.
So
as
far
as
I
know,
that
is
the
plan
to
make
that
all-encompassing.
C
A
And
and
there's
also
the
construct
of
grab
a
graph
yeah,
absolutely
graph
QL
that
may
actually
provide
that
functionality
as
well.
I
do
not
know
where
that
stands
in
terms
of
implementing
the
coop
piece
of
it,
but
a
lot
of
cases
we've
actually
reimplemented
the
REST
API
as
graph
API
graph
QL
API,
and
that
provides
you,
the
multi
level
data
query
and
import
export
functionality
in,
in
most
cases,
not
all
cases,
but
in
most
cases
ok
with
that
I
will
turn
it
back
to
Chris.
Unless
there
are
any
other
questions,
I
think.
D
A
A
C
They
started
doing
the
design
for
the
group
export-import
UI
I,
think
earlier
this
week,
I've
only
been
on
a
couple
of
calls
with
Daniel
Mora,
the
UX
designer
for
that
or
the
product
designer
for
that.
So
as
far
as
I
know
that
it
is
planned,
I
just
don't
know
when
there's
they're
planning
to
get
it
shipped.