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

This widget could not be displayed.
Tarun Sapra Community Champion Dec 09, 2014
This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

137 views 1 3
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