Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

add options to select with script runner in post function


I need to dinamically add options to a single select custom field inside a post function. When jira receives an email it creates an issue and than process a transaction. Inside email there is a value that I must select in a single select custom field. But that field could not have such option. So I need to add a new option and than select it. I don't know how to add new option inside a post function.

Let say for example I have the field Colors with contains a list of colurs. User send an email containing the color to set. But the color choosed by user could not be present in the Colors field. So, if the color is purple and that option is not present, I must add a new option "purple" and than select it. I know how to select the value but don't know how to add it.

How can I add new options?

1 answer


We seem to have a pretty similar examples to what you are doing in our documentation.

Can you have a look here and tell me if this is what you are looking for?



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

147 views 0 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you