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 votes
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,154 views 5 10
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