Hello Atlassian Community,
We have an important update to share regarding the ability to enforce unique attribute values on objects within Assets for Jira Service Management cloud.
At present an object type in Assets for Jira Service Management can have an unbounded number of unique constraints applied to its attributes. After 31st of October 2024 we will be introducing a new limit of 2 unique constraints per object type. This is part of our effort to offer a more scalable, performant and reliable experience as we make major enhancements to the underlying platform that powers Assets. We believe this new limit will be sufficient for the vast majority of use cases in which Assets is utilised.
For customers with any existing object types that already have more than 2 unique constraints, we are asking these customers to please reduce these down to 2 per object type before 31st of October 2024. Not doing this will mean:
When we are ready to begin moving you to the new Assets platform, we will be unable to do so without first disabling your unique constraints on any object type with more than 2.
You will be able to re-enable up to 2 per object type after this is completed.
More information on this process will be released in future.
Effected public Assets REST API endpoints are:
Both of these endpoints will begin to return a HTTP status code of 400 if there is an attempt to add a unique attribute constraint (via the uniqueAttribute
property) and the limit has been reached.
If you have more than 2 attributes on an object type that you need to ensure are unique, a potential workaround is creating an automation rule to check the number of objects that can contain a particular value after an object is updated. You could then raise a Jira issue to resolve the duplicate or notify the relevant schema administrator.
By making these changes we can ensure your site can begin to utilise our improved Assets platform when it is completed and reap the vastly improved the scalability, performance and reliability it will offer. We’ll be announcing more about this soon.
Please don’t hesitate to reach out and give us your feedback. We will be listening carefully to help us understand how we should evolve the unique constraint feature and our limits in future.
All the best,
Justin King
Senior Product Manager, Jira Service Management
Justin King
Senior Product Manager, Jira Service Management
2 comments