I want to add 2 context for same custom field and for same project but for different Issue types ?

Tanu Ranjan Bharadwaj
Contributor
May 17, 2019

Hello,

I have this custom field of type select list by the name of 'A'  which has 2 sets of different values for 2 different issue types but for the Same project. 

So, is it possible to Configure the same by using Context in that custom field for same project but for different issue types ?

1 answer

1 accepted

4 votes
Answer accepted
Krisztian Kovacs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 17, 2019
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 17, 2019

Frustratingly, you can do context by issue type, OR by project, but not both on the same field.  So if you have two sets of values for a custom field and want to do it by issue type, it's global, for every use of that field in every project.

Like Monica Brazelton likes this
Tanu Ranjan Bharadwaj
Contributor
May 17, 2019

Thank you for the update.

Tom Hudgins
Contributor
January 22, 2021

@Nic Brough -Adaptavist- I can't get - what I think you are saying - to work.

I have a custom field with a context that is global and a specific issue type. If I try to make another context, I can select a different issue type but I have to chose a project (I can't leave it global). I read your statement as I could have two global contexts, each with different issue types but that doesn't seem to work.

Am I reading your statement wrong or am I doing something wrong?

Thanks

Like # people like this
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2021

You're not reading my statement wrong, you have understood it fine and run straight into the second part of the problem where my answer is totally lacking any detail and hence very very unclear.

I think the problem is the complexity of the possibilities.  I've always imagined a multi-context system to start with "here is a default you use everywhere", and then you could define other exceptional contexts by project or issue type, or a combination of the two.  

It's easier to explain this with an example.  With my scheme, you could now set up contexts like

  • Default  (field options = Red, Orange, Yellow, Green, Blue, Indigo, Violet)
  • Issue type = bug (field options = Cyan, Magenta, Yellow, Black)
  • Project = ABC (field options = Red, Green, Blue)

Sounds fine, but what happens when project ABC has a Bug issue type?  Which context kicks in?

There are ways to fix that, with a bit more config and code, but Jira "solves" (quotes because I think it's a total cop out as a solution) this by simply not allowing it.  There's no problem having a global/default context, but then additional contexts have to be done by project AND issue type, to avoid the problem in my example.

Like Monica Brazelton likes this
Tom Hudgins
Contributor
January 25, 2021

Hmm. I get that there can be conflicting permutations in some cases but I can't even do what seems to be the simplest thing - a select list, for a single project, that has two different option lists for two different issue types. 

I can make one context global with issue type A, and then another context project specific with issue type B, but the field doesn't show on a screen for issue type A. "Where's my Field" says it's not configured for the scope of the issue type/project.

Like # people like this
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2021

That's correct, that's Atlassian completely ducking "how to deal with conflicts".

Like # people like this
Paul Mugridge
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2021

Why is this marked 'solved'?  It should be marked 'ignored'.  

Like # people like this
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2021

The community is not a support or feature request system, it's a forum, and people are asking questions.  The "solved" flag is there to say "this question has been answered usefully", not "the thing we're talking about has been fixed/implemented/made redundant etc".

That information is over in the issue Krisztian gave us a link to.

Like # people like this
Oliver Wasiak February 17, 2022

There is the possibility to provide feedback to this feature implementation. Maybe it would be worthwhile to provide the feedback here: https://jira.atlassian.com/browse/JRASERVER-72239

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events