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

Accepted Answer
0 votes

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 votes

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

440 views 7 5
Join discussion

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