You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have set up some service requests in my project, which use a Jira ITSM form to collect some information. Some have radiobuttons to select a choice.
My problem: how can I create subtasks in automation rules depending on the value of the radio-button in the form?
I have already set the "FieldKey" in the form, but I have no clue on how to access this field in the automation rule.
Kindly thank you in advance!
Hi @Mark Segall
Thank you for your welcome and your anwser!
I have tried to link the form field to a corresponding Jira field, but all the options keep updating without the possibility to change them.
My radiobutton is "wired/wireless", but if I link to a radio-button Jira-field, the options get updated.
Is there something else I must configure first?
Dear @Mark Segall
I can surely share the screenshots.
So in the first one (form), I have the options I want. If I link it to "change risk" (which I don't use in this project), it changes the options.
I just want to import the wired/wireless option into my automation. so I can create different subtasks if it is a wired or a wireless device.
So, in your Wired/Wireless settings it shows
Linked Jira Field: Do Not Link
This is the key to being able to have automation be able to work with the data. This field needs to link to a Jira field. That way when someone fills out the form, the data is stored in the Jira field. That will allow automation to find it and work with it.
@Jonas Van Waes curious on the solution you ended up with, as I have run into a similar situation. I have a form tied to a request type but want to have an automation rule set to one of the form attributes.
I am trying to avoid creating a custom field, if all possible.
Thank you in advance!
The entire form is sent along when submitted from the portal. With "smart values", you can just pick up those values and put them in your automation rules.
In the example below, my automation rule triggers when an issue is created (from the portal, or otherwise). Then it checks the kind of service request that was created. If it matches a certain type, the rule continues. The third block adds a specific title to the ticket.
The forth block is the interesting one for you: getting the values.
In my form, ID = 4 is a radiobutton (yes/no).
If I have selected "yes", then the radiobutton gets value "1", if I selected "no", then it gets value "2".
More radiobuttons "yes/no/maybe", just increases the number: yes = 1, no = 2 and maybe = 3.
These values you can use then in your automation rules to perform certain actions or not. As you can see, I have nested these rules as well. I check two radio-buttons if the "yes" is selected.
Just be attentive that nesting them can create a lot of options, but then you can use for-loops as well.
To determine the IDs, you'll need a testing rule as well. I found this one to be the easiest: it just dumps the entire form as a text in a description field. You can turn off this rule after testing.
I hope this will help. If something is not clear, don't hesitate to leave a comment :)