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,555,526
Community Members
 
Community Events
184
Community Groups

Need to add value to a single select custom field using Import option.

Hi,

  I am having a csv file with list of option, I want that option to be assigned to single select custom field using import option.

 Is it possible in JSM ??

2 comments

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 27, 2023

Hi @Guru ,

There is no import option available to create new values for single select custom field. Instead you can use rest api Create custom field options (context)

You should know the custom field ID and context ID to add values. 

POST: /rest/api/3/field/{fieldId}/context/{contextId}/option
Example:  https://<baseURL>/rest/api/3/field/customfield_10006/context/10174/option
Here 10174 is the context ID

You can pass json body as follows:

{
  "options": [
    {
      "disabled": false,
      "value": "L4"
    },
    {
      "disabled": false,
      "value": "L5"
    },
    {
      "disabled": false,
      "value": "L6"
    }
  ]
}

Hi @Guru ,
If you're looking for a way to import options without manually using the API, you can try using the app External Data for Jira Fields.

With a file data source and the Field Options Sync feature, you can easily import many options at once. Plus, you can target a native Jira select list, so uninstalling the app won't be an issue.

I hope this helps!

Best,
Thomas

(Please note: I work with the vendor of this app.)

Comment

Log in or Sign up to comment