Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Checkbox Field with Different Options Based on Issue Type in a Single Project

Nguyễn Văn Hiếu September 12, 2024

 

 

Hi everyone,

I’m looking to create a custom field of type Checkboxes for a single project where the available options differ based on the issue type. Here’s an example for Project P:

  • For Issue Type Task, the options should be: Option A, Option B, Option C.
  • For Issue Type Sub-task, the options should be: Option E, Option F, Option G.
  • For Issue Type Story, the options should be: Option I, Option J, Option K.
  • For Issue Type Bug, the options should be: Option X, Option Y, Option Z.

From my understanding, the feature Configuring Custom Field Contexts (https://confluence.atlassian.com/adminjiraserver/configuring-custom-field-contexts-1047552717.html) allows for setting contexts for custom fields, but it seems to be limited to assigning only one context to a custom field for a project at a time. This means we cannot add multiple contexts for a single custom field within the same project to accommodate different issue types.

Is there a solution to achieve this without creating multiple custom fields? I would like to have a single custom checkbox field where the options vary depending on the issue type within the same project.

1 answer

0 votes
Valerie Knapp
Community Champion
September 12, 2024

Hi @Nguyễn Văn Hiếu , welcome to the Atlassian Community and thanks for your question.

If you can use an app for this, Behaviours in ScriptRunner should allow you to do this - https://docs.adaptavist.com/sr4js/latest/features/behaviours/behaviours-tutorial 

Please have a look and share your feedback if this would work for your case.

Cheers

Nguyễn Văn Hiếu September 12, 2024

Many thank @Valerie Knapp for your feedback. Let's me definitely take a look at the documentation and see if this solution fits my needs

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events