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!
If you mean unique value per issue per project, you will have to write a custom field of your own which does that validation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please update your question? Eventually picking the right anwer. I think that Andrey gave other that seems legit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.