Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can you create an automation rule that creates multiple objects in insight?

Christopher Taylor July 1, 2022

Hi there,
So i was thinking of using Insight for stock control and will require to add multiple objects at once with different serial numbers. Is this possible with issues or the forms functionality

Kind regards,

Chris

2 answers

1 vote
Björn Gullander
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2022

Hi, 

I don't think you can use the values from a Form field in an automation rule. 

What you could do is to let the users input the serial numbers as a comma separated text field.  "12345566, 376633636, 383833737"

Then you could split that field value and use it in an Advanced branching action and create objects from each split item.

Advanced branching - Smart value: {{issue.fields.SerialNumbersField.split(",")}}

Create objects - Name: {{sn}}

branch on split string in jira.png

create insight object in branch.png

Christopher Taylor July 5, 2022

Hi there,

Thank you for this! Would they input the serial numbers as a comma separated field in a issue field? like a ticket?

Björn Gullander
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2022

Yes as a Jira text field was my thought, but there are probably other methods as well. 

Björn

Christopher Taylor July 6, 2022

And what does ther issue.fields.serialnumberfield.split(",") represent? 

just trying to understand it :)

0 votes
Melo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 4, 2022

Hi @Christopher Taylor. Yes, automation for Jira has an action to create insight objects. You will need to select the Schema and object type to be created, and for other attributes, you can use smart values.

inquest.PNG

If you are using forms, you will probably need to link the form Fields with Jira Custom Fields.

I hope that helps.

Cheers,

Melo

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events