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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.