How to get the options from a remote multiselect customfield.

I want to map a multiselect customfield to a remote one, that is to copy the values of one multiselect customfield to the remote instance.

For example, the first JIRA instance has a customfield called languages which has many values of languages. When I want to copy the selected languages to the same field of remote JIRA instance, it need the

"remote option ID + option value" so that the option can map to one of the remote options.

But the option id of the two same named multiselect customfield options are different, so is there a way to get the remote multiselect customfield's options by the name of customfield.

Thank you very much.

1 answer

1 accepted

0 vote

Depends - could you tell us how you're coding? Is it a plugin in one Jira or the other, or an external something? I doubt it though, because most of the APIs expose the field options via id, not name (because the name can change)

actually, I want to expand a plugin which can copy issue between JIRA and JIRA. It can only support system field and a few types of custom field except the multi-select custom field. So I want to expand the plugin to support the multi-select field, but I can not map the options from a multi-select custom field to the remote issue.

How does it handle the single-select field then? That's the same list of options.

Thank you very much!! Yesterday I didn't understand how it achieved the single-select. I saw it again just now after your answer and found it had the code how to handle the remote option, and I finished the multi-select field map as the single-select. Thanks again!!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

240 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you