Choosing a status based on previous status
Asked by Thang Le:

Can I create a "Status Tree" ? I have used \[Handy Status\], but cannot find a way to narrow down status selections with each succeeding status. Maybe there is another Macro to use?

Example: 1st status = all continents on earth

2nd status = all countries on earth

3rd status = all cities on earth

Is there a way that if I select the 1st status = Europe, then when I click on the 2nd status, it will only show countries in Europe (instead of all countries on earth).

Let's say it works with 2nd status only listing countries in Europe and I select France.

Can the 3rd status just list all the cities in France (instead of all cities on earth)?


Answers:
author: Stiltsoft Support
body: Hi [@Thang Le](/t5/user/viewprofilepage/user-id/5520430) ,

Indeed, [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=datacenter&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_vendorID=1216111&utm_content=status_cascade) has a Handy Status macro that creates many status sets and reuses them on pages or templates. Those statuses are independent, though, so you can use them for reporting or dropdowns in tables.

![2024-06-14 111350.png](https://community.atlassian.com/t5/image/serverpage/image-id/329867i2E3B472984C8C747/image-size/large?v=v2&px=999 "2024-06-14 111350.png")

Why do you need to create a few status dropdowns that rely on each other's values? What are you trying to implement on your pages? Perhaps understanding your use case will help the Community come up with a workaround.

comments: author: Thang Le
body: By each succeeding status limiting results for the next the dropdown list, this would make it more user friendly and minimize/eliminate the chance that someone can select an incorrect 2nd and 3rd status.

If my 1st status = Asia

and all choices for my 2nd status is available, someone might correctly choose = France (and not realize that the 1st status was incorrectly selected).

I just think having the ability to limit items would be helpful.


author: Shawn Doyle - ReleaseTEAM
body: Sounds like you are looking for cascading dependent picklists, a custom or multi-select picklist for which the valid values depend on the value of another field, called the controlling field. Controlling fields can be any standard or custom picklist.

There may be a Marketplace app that will do that, however, I am not aware of one, you would need to go look or wait for the right marketplace vendor to see this question.

Cascading dependent picklists are supported in Jira.


author: Shawn Doyle - ReleaseTEAM
body: Kind of like a cascading set of pick lists? I do not believe Handy or the built-in statuses can do this for you. They may be a Marketplace plugin, you'd have to do some homework.

However, are you sure Confluence is the correct tool? You could create this in a Jira project to get this functionality, then use a gadget in Confluence to display the issue(s).

comments: author: Thang Le
body: I'm not too familiar with what Jira projects available, maybe you have more specifics?

However, at the moment, I'm just trying to only use Confluence. The limited statuses/dropdown list available, makes sure that spelling is correct and formatting is similar.


Tags: confluence-data-center

data-center

handy

handystatus

sourcetree

status

tree