Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

2 votes
Answer accepted

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.

Thank you for the update.

@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

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.

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 R_ Dekker likes this

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

Paul I'm New Here Mar 01, 2021

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

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you