Why do we have only Customfield Context per Project ?

It is limitation have already identified few years ago, and I have never understand why ?

When a Customfield is created, it has a default context applicable on any Project/Issue.

When you created an additional Context, you have 2 possibilities for specifying when the Context is applicable :

  1. One or more Projects, assuming any Issue Type
  2. One or more Projects and One or more Issue Types

It is not possible to select an Issue Type without a Project ... Ok, why not ?

But as soon as a Project is used in a Context, it is no more usable for creating a new Context.

By example, if we have 3 projects (PA, PB & PC) and 3 Issue Types (IT1, IT2 & IT3).
On CustomField creation, we have : Ctxt 1 applicable on Any Project/Issue Type

If we create a context for PA/IT1, then it no more possible to create the other combinations :
- PA/IT2
- PA/IT3

What is the functional reason of such limitation ?

In most of part of JIRA, the Context to use is always deduced on the pair Project/IssueType.

The only possible workaround since 5 years (https://jira.atlassian.com/browse/JRA-16027) is to created a new customfield for each additional Context needed ... It is not really practice, mainly if we have to use this field in JQL.

Does somebody has a technical workaround (patch of the ConfigureCustomField action) ?

Thanks by advance.


2 answers

0 vote
Tarun Sapra Community Champion Dec 09, 2014
0 vote

I guess because the code to decide on which context to use would be more complex. You'd have to work out which of several contexts could apply was the most restrictive and choose that one. Hard to fix seven years later perhaps?

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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 5
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