Forums

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

How to implement dependent two text fields in Jira using Forge app

Paidipati_ Lokesh
June 30, 2026

Hi Team,

I need to implement dependent text fields in Jira using Forge app.

Requirement:
Field 1: Select List (single choice) custom field
Field 2: Select List (single choice) custom field

Expected Behavior:
- If Country = India is selected,State field should show only Indian states
(Maharashtra, Karnataka, Tamil Nadu, Delhi, Gujarat)

- If Country = USA is selected,State field should show only US states
(California, Texas, New York,Florida, Washington)

- Both fields should be separate
- Both values should be saved
on the ticket after creation

Questions:
1. Is this possible using Forge?
2. Which Forge module to use?
3. Any code examples available?
4. Any workarounds if not directly possible?

Thanks,
Lokesh

2 answers

0 votes
Geert __ 2improveIT
July 14, 2026

Hi   @Paidipati_ Lokesh 

In Forge you can do this by creating a custom string field (Country) and a read-only string field (State).

In the view mode you can use two labels to show both values: Country will use the saved field value and for State you can retrieve the value using the rest api.

In the edit mode you can render two dropdowns (Country and State) and apply your logic. When submitting you save the State value into the read-only field and submit the Country value.

I have tried this scenario in ScriptGenie (disclaimer: I am the developer).

0 votes
Marc -Devoteam-
Community Champion
June 30, 2026

HI @Paidipati_ Lokesh 

It is best to raise topics in relation to development of apps in the Developer Community or there might be already answered topics on your question.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events