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,551,850
Community Members
 
Community Events
184
Community Groups

Having different name for the options in list single select

Hello everyone I'm trying to implement logic on a custom field and the thing that I want to achieve is to have a different name than the value of the custom field 

 for example, we have a dropdown list and the first option is ( Option 1 ) for option one I want to set the value to 1 not option 1 but still show (Option 1 ) to the user 

 

Thanks in advance 

2 answers

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 28, 2022

Hi @Ravyar Aram ,

welcome to the Atlassian community!

Jira manage values associated to a select list as a couple id(that is managed internally by jira) and value that is the text of the option.

You have not chance to edit that behaviour.

Fabio

Thank you for your explanation 

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 28, 2022

If I understand you correctly do you want to display one thing to the user but have the system interpreted as a different value. That is, the user will see “option 1” however the database entry equates to “1”. Assuming I am understanding correctly unfortunately that is not possible. I’m not sure I understand the use case for why you need this. Maybe if I understood more completely I could offer a different solution but unsure.

@Jack Brickey for example i have an interval for recurring the issue in the options I want to have something like this ( next day, next week, next month) and i have a script in JWME to change the due date of the issue based on that option and in the script I'm using days for example for next week i want to have the value of 7 for the script to run correctly 

Basically an enumeration (like in programming).

One example is T-Shirt sizing that maps to a number which can be used in an index formula (like RICE).  So the user sees in the select list {XXS, XS, S, M, L, XL, XXL}, but the value set is {1, 2, 3, 5, 8, 13, 21} (respectively).  Would be nice if specified all directly in custom field itself.

One alternative is to have two custom fields - one visible and one hidden - where Jira Automation updates the hidden from the visible.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events