Hi There,
Using Project Automation for Jira Service Desk Cloud, I would like to create multiple sub-tasks based on the selection a user makes in a multi-value checkbox.
Example:
New Hire Application Checklist (Checkboxes Custom Field)
X Salesforce
NetSuite
X Agile
X Jira
Using this example, I would like to create 3 sub-tasks on the new-hire ticket
Sub-Task 1 = Create Salesforce Account
Sub-Task 2 = Create Agile Account
Sub-Task 3 = Create Jira Account
I don't see a way to do this but am hoping someone has a path to completing this.
Hi Seth,
We don't have a very clean way to do this yet, but you could add multiple 'If blocks' (make sure you're on the latest version if you're in server):
Hope that helps!
Cheers,
Andreas
Thanks Andreas! That worked for me.
Just a quick note: You must use an If/Else Block and not a JQL Condition block for this to work. It took me a little bit to sort that out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey guys, I have 13 possible Applications, all with different Assignees for the Subtasks. So... I really don't want to have 13 IF/ELSE blocks.
I was thinking about storing my mapping of Applications->Assignees in Project Entities or as a single Project Entity JSON block.
Alas, Jira or Automation seems a little picky about dashes or underscores in keynames, and while I can store the JSON object in an entity, I'm less confident I can get the values back _out_.
But then there's the root problem: How do you iterate over checkbox values and try to create subtasks for each one?
I could iterate through the list in an Audit Log test, but can't wrap my head around any way of trigger a subtask creation.
So I guess I'm stuck with 13 IF/ELSE blocks? Man, I feel like we're so close...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.