Hi, I want to create multiple tickets in jira using confluence form, based on the mult-select dropdown, So I am using the below code inside IFTTT Integration rules. The values are seperated by "-" and the split function is working good. When we click on save only one ticket is created jira.
Can someone help me to solve this issue.
Thanks
#set($myapp = "[entry.Application]")
#set($var = $myapp.split("-"))
#foreach($string in $var)
{
"fields": { "project": { "key": "SOLID" },
"issuetype": { "id": "3" },
"summary": "$string",
}
}
#end
Thanks @Alex Medved _ConfiForms_ for the quick reply. We are not able to proceed with bulk creation due to other features. But were able to achieve the result with other options.
Thanks,
Mani
Hi
You can probably use the "bulk API" - https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/?_ga=2.15474545.675557620.1538152808-65270402.1526147845#api/2/issue-createIssues
and create a JSON payload as follows
{
"issueUpdates": [
#foreach($app in $Application.getLabels())
{
"update": {},
"fields": {
"project": { "key": "SOLID" },
"issuetype": { "id": "3" },
"summary": "$app"
}
#end
]
}
This API can be called through the "Applink service" or "Webservice Request" ConfiForms IFTTTs
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.