Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
Highlighted

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 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
Community showcase
Published in Jira Service Management

Announcing Jira Service Management!

Hello there Cloud Community members! Today, we’re thrilled to announce Jira Service Management, the next generation of Jira Service Desk. Jira Service Management touts advancements in IT service ...

1,411 views 16 33
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