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,458,763
Community Members
 
Community Events
176
Community Groups

Repeated fields on a ticket

Hi

I'm looking for the best option to create a set of fields that can be repeated in a ticket in jira service desk. I'll explain further: let's say I want the reporter to include a list of products on a ticket, this list of products will be introduced with 2 different fields (Product number and quantity) if I want to give them the ability to introduce more than 1 product on a ticket i.e.

Product: A - Quantity: 1

Product: B - Quantity: 2

Product: C- Quantity: 1

Can I do this without having to create multiple custom fields?

 

Thanks

2 comments

Jack Brickey Community Leader Sep 13, 2019

well you can certainly use a multi-select for the products. the issue is in aligning the quantity to this. you could also consider a text field solution where two text fields were presented: products, product quantity. The user would have to know and follow the rules of entry.

Products: A, B, C

Product Quantity: 1,2,1

you could consider multiple cascading select solutions.

no perfect solution here

Like Nic Brough -Adaptavist- likes this

Hi Jose, 

 

There is no such custom field out of the box available in Jira. I believe you require this feature because,  you don't want users to enter the products names manually in any text field as it is prone to human errors. 

There could be possible solutions using behaviour module of ScriptRunner plugin if you are using it. One of such could be, 

1. Create a multi line text custom field named as Product and Quantity. 

2. Create a cascaded select list custom field named as "Product List". Primary list of this fields should be product names and dependent list could be quantity. 

3. Create a new behaviour in the behaviour section of the ScriptRunner plugin consisting of these two fields. In the server side script of "Product List" custom field,  create a fieldChangeEvent and get the selected value of Product list.  Format this value as you require and add it to the existing value of custom field "Product and Quantity". You can also set this custom field to read only so users can not edit this field manually. 

 

Regards, 

Rakesh

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events