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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Grouped field validation

We need to know if there is a way to validate multiple fields as one and not a separate validation for each field.
For example: I have the fields Serial and Brand, I want to allow duplicate serials only if the Brand is different. And not allow if the Serial and the Brand are duplicates.

2 answers

0 votes
Fahad Siddiqui Community Leader Sep 02, 2020

@Marcelo Montaño Sánchez  this can be done through scripting.

Dear Fahad, could you be a little more specific? How could I script such a validation? Thanks, Tobias.

Dear Marcelo,

as far as I know this can not be defined. You can define an attribute as unique but this always refers to all objects with the same object type. I searched for a quite similar requirement in the past without luck. My requirement back then was not related to Brands but to Lifecycle Status.

A workaround could be to define different object types for each brand under the same parent object type and leveraging the inheritance feature for the attributes. Yes, not very beautiful and probably with some "side effects" but worth a try if you do not have dozens of brands. If you have some brands with only a few objects you could even think about a brand called "Other <Name of Parent Object Type>".

Kind regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

241 views 1 6
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