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
Using Automation for Jira:
I need to be able to attach a form matching a value in a custom field. The custom field may have 1 or more values and may require 1 or more forms to be attached to the issue.
CustomField A value - X, Y, Z
I need to look up the matching forms (X,Y,Z) and attach them to the ticket.
Lookup Tables will not work due to there being several hundred forms and the lookup tables is limited to 25, plus this would be a nightmare to maintain due to the volume of forms.
If/Else statements would be too taxing on the system and a nightmare to maintain.
I am looking for a simpler approach to look up the matching forms based on the values selected in the custom field and attach them to the issue.
HI @Beth Starr ,
You can try out the below approach using the FORMS api (https://community.atlassian.com/t5/Jira-articles/Add-a-Form-using-Automation-and-API/ba-p/2385407) :
NOTE: this is in theory, I haven't had the chance to test this out myself, but I believe this should work if your field name and form names match
If in case your form names and field names don't match then the lookup tables or If/Else loops would be the only way ahead. And given that you have more than 100 forms this will create more than 2 automation rules since the rules are limited to a lesser number of actions/conditions.
PS: Lookup tables seem to accept up to 200 values as per the message displayed in my instance
Hope this helps.
Please do post your solution here if you find any other alternatives too, since this use case sounds quite interesting.