Create Ticket in two projects at the same time

Issue #966 resolved
Bharath Kumar Kappala created an issue

We want a transition to create two tickets in two different projects at the same time,

The solution that I was thinking is have a Select List (multiple choices) and if one value is selected then create just one ticket in the set project and if two values are selected then, 2 tickets are created in the set projects.

How can this be configured, using the JWT, if there is a better way to do that other than the Select List (multiple choices) please suggest

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi @bhharath1230,

    The solution to use depends on the logic you want to implement. If you always want to create 2 issues, you simply can use two post-functions "Create issues and subtasks".

    But if you want to create each issues depending on certain condition, for example, depending on whether a certain option is selected in a field, you can also use two different "Create issues and subtasks" post-functions including a boolean expression like this in parameter Conditional execution:

    %{nnnnn} ~ "Option A"
    

    where nnnnn is field code of your Multi-Select custom field, and "Option A" is the name of the option that triggers the creation of this issue. In the other post-function you use %{nnnnn} ~ "Option B"

    Please, let me know if you have any doubt about this solution.

  2. Log in to comment