Scenario:
Issue 1 (Task) to be created if PG 1 is selected.
Issue 2 (Task) to be created if PG 2 is selected.
However we need to use "Issue 1 Relates to Issue 2".
Code used:
#set ($thisTEAM = "") #set ($thisREQUEST = "") #if ("[entry.ImpactedPoDs.escapeJSON]" == "AIMRKK") #set ($thisTEAM = "46452") #end { "fields": { "project": { "key": "AIMRKK" }, "issuetype" : { "name": "Task" }, "summary" : "[entry.Summary.escapeJSON]", "labels": ["$thisREQUEST", "WMPAdviceIntake",], "customfield_19600": "$thisTEAM", "description" : " *Submitter Name:* [entry.SubmitterName] \n\n *Submitter Email:* [entry.Email] \n\n *NDA:* [entry.NDA] \n\n *Request Type:* [entry.TypeOfWork.label] \n\n *Submitter Org:* [entry.SubmitterOrg] \n\n *Impacted PGs:* [entry.ImpactedPG] \n\n \n\n *Other Impacted Journey/Platform:* [entry.ImpactedPlatforms] \n\n *Request Summary:* [entry.Summary.escapeJSON] \n\n *Request Description:* [entry.Description.escapeJSON] \n\n *Target Date Org:* [entry.TargetDate] \n\n *Severity:* [entry.Severity] \n\n *Additional Details :* [entry.AdditionalDetails.escapeJSON] \n\n " "issuelinks":[ { "add": { "name":"Link", "inward":"relates to"}, "outwardIssue":{ "key":iftttResult_JIRAID.escapeJSON}}] } } |
Consider having 2 ConfiForms IFTTTs - one that runs on PG:1 condition, while another runs on PG:2 condition.
Not sure though what you mean by "Issue 1 Relates to Issue 2"... Is there a use case when you create BOTH issues at the same time (on form submit)?
yes, we are creating,
ConfiForms IFTTT 1 is creating TASK 1 with PG:1 condition.
ConfiForms IFTTT 1 is creating TASK 2 with PG:2 condition.
Requirement : Task 1 relates to Task 2.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What field type is PG?
How could you create BOTH tasks - in which case? Is PG a multi-select field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PG Field is checkbox group (Group 1- 5).
If PG Field <> Group 1 : Task 1 is created
If PG Field = Group 1 : Task 2 is created
If PG Field = Group 1 and Group 2: Task 1 and Task 2 is created. However Task 1 and Task 2 must be linked Relates to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you will need multiple IFTTTs - 3 to be precise
1. Create Jira
2. Create Jira
3. Update Jira, conditionally executed and uses the result of the IFTTT 1 for issue key and the result of the IFTTT 2 in the JSON, setting the issue links
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scenario:
Issue 1 (Task) to be created if PG 1 is selected.
Issue 2 (Task) to be created if PG 2 is selected.
However we need to use "Issue 1 Relates to Issue 2".
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.