Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,798
Community Members
 
Community Events
177
Community Groups

Copy labels from an issue in another instance

Hi!

I would like to know if is possible to copy labels from an issue in another instance.
For example, I have an issue in Jira Cloud (ISSUE-1) with labels: 'abc, def, ghi' and would like to copy all these labels to an issue in Jira Server (ISSUE-2).

What I've done so far:
From Jira server I sent a rest api to get all labels from the Cloud issue
https://yourdomain.atlassian.net/rest/api/3/issue/{{issue.key}}?fields=labels

Captured and logged the labels
{{webhookResponse.body.fields.labels}}

So far it worked.

However, when I try to add these values to label field using {{webhookResponse.body.fields.labels}}

ISSUE-2 (The label 'abc, def, ghi' contains spaces which are invalid. (labels))

How to make it work?

1 answer

0 votes

"How to make it work?"

Remove the spaces

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events