creating a issue and linking
Hello:
I'm attempting to create an issue and link it to another issue based off a certain value selected upon create - is that possible?
Use Case: If the option of 'Badges' is selected from a multi-select field upon create, I would like a separate issue created and linked to the issue the user is creating.
Thank you,
Scott
Comments (4)
-
repo owner -
reporter Here is what I have as my post-function but it's still not creating a separate ticket and linking it. Does it have to do with the string list?
-
repo owner Hi @scottjmcdonald,
Since Items Missing custom field is a multi-select and you may have more than one option selected simultaneously, you should use the following expression:
"Badges" in %{nnnnn} ? ["Lost Badge"] : []
replacing nnnnn with field code for Items Missing custom field.
Anyway, I think it's simpler to use the following alternative configuration:
- Select option for creating One issue instead of Multiple issues.
- Conditional execution:
"Badges" in %{nnnnn}
, replacing nnnnn with field code for Items Missing custom field.
-
reporter - changed status to resolved
The conditional execution worked much better, thank you!
- Log in to comment
Hi @scottjmcdonald,
You can do it using "Create issues and subtasks" post-function in Create Issue transition with a configuration like this:
"Badges" in %{nnnnn}
replacing nnnnn with field code of your multi-select field.Please, let me know if you have doubts on the rest of parameters of post-function "Create issues and subtasks".