Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Using Automation I need to attach a form based off custom field value

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.

Example:

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. 

Any ideas?

 

1 answer

0 votes
Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 28, 2023

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
image.png

 

Hope this helps.

Please do post your solution here if you find any other alternatives too, since this use case sounds quite interesting.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events