Possibility to create a unique custom field per project (implicit for issue)?

Hi everybody,

I created a custom field buy developing a new plugin for jira 5 and I declared it as indicated by the atlassian developer's guide, by declaring <customfield-type> tag in atlassian-plugin.xml.

I want to force this custom field to be unique per issue (so I want to make it unique per project).

I tried by declaring in (configuration of atlassian-plugin.xml) tag "customfield-type" a subtag <unique>true</unique> as we can do for Validators, Post-Functions or Conditions and it doesn't help.

So, is there any possibility to make it unique per Issue/Project?

Thank you in advance!

4 answers

1 accepted

0 vote

If you mean unique value per issue per project, you will have to write a custom field of your own which does that validation.

0 vote

I think you need to explain what you mean by "unique" here? I can't work out what you're aiming for. Maybe if you describe what you expect the users to experience when they view/edit this field?

Can you please update your question? Eventually picking the right anwer. I think that Andrey gave other that seems legit.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

578 views 6 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you