Forums

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

Different actions based on dropdown selection

Adrian M
Contributor
November 4, 2022

I have a ConfiForm that creates a Jira Story issue sets Epic and Assignee based on inputs and then sends an email to the requestor. I need to expand of the Forms capability.

I need to add dropdown which has 3 options; SelectionA, SelectionB & SelectionC

Consider the following scenarios:

  1. When SelectionA is selected the following actions should take place:
    1. Create a Jira Story on BoardA
    2. Set EpicA and AssigneeA
    3. Send EmailA
  2. When SelectionB is selected the following actions should take place:
    1. Create a Jira Story on BoardA
    2. Set EpicB and AssigneeA
    3. Send EmailB
  3. When SelectionC is selected the following actions should take place:
    1. Create a Jira Story on BoardB
    2. Set EpicC and AssigneeB
    3. Send EmailA

So there will be two types/values for Boards, Assignees & Email content. But there will be 3 Epics. There will be more options added to the dropdown later but they very likely should fall in one of the three above scenarios.

Appreciate any input of links to docs/tutorials to help set this up.

1 answer

0 votes
Adrian M
Contributor
November 6, 2022

Doing this tutorial helped mew to figure this out: https://wiki.vertuna.com/display/CONFIFORMS/Creating+dynamic+and+interactive+forms+in+Confluence.+How+to+create+dependent+fields+in+ConfiForms

To be clear the tutorial is referencing the Field Definition Rules macro.

Replying to my post if it helps someone else.

Suggest an answer

Log in or Sign up to answer