Likely an easy fix but I can't seem to find documentation explaining how to do this.
Essentially I can create An IFTTT macro creating a JIRA ticket as an "Epic" and subsequently create a "Story" using the JIRA key created from the "Epic" as the field value for the custom data field tied to "Epic Link".
I can do the same thing to create a "Story" and then create a sub-task using the JIRA key value for the "parent" value in my JSON script.
What I can't seem to figure out is how to create a "Story" and then create a "Task" that is tied to that story automatically in a separate IFTTT macro following the Story created IFTTT macro.
Can this be done? Is there a property like "parent" I can use to link the JIRA key to?
Hi
This is really a question about Atlassian Jira REST API and how to create a task as a sub-task for the story.
ConfiForms here is just a "worker"...
Alex
PS, I have found this https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-Create-Subtask-using-Rest-API/qaq-p/508166 might help...
How could I have missed this link? As per usual you have the answers. I got it working off of this URL, thanks Alex!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can someone share the sample Json script to create EPIC and predecessor stories and subcategories on one click
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Look at this tutorial and start setting up rules to create Jira issues (mapping is specific to your project, but the mentioned url shall help you to get started)
Then the first one is ready, write back the issue key created for your epic back to ConfiForms (we have bunch of examples demonstrating this concept in our wiki), then add more ConfiForms IFTTT rules to create "subcategories", setting the epic link to the issue key you have created in the first step
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex/Walsh,
Thanks for the response .. I can able to create epic , email trigger and also confluence page but if I tried to add issues story and sub task within the same script which should create epic, story and subtask on one click, I have difficulties on giving the field value summary , description etc since it’s already defined for epic.. can you share some example script which will create epic and story in one click so I will develop from there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the current blocker you are having and what you currently have?
Not sure what "example script" are you asking about
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No Format
{
"fields": {
"project":
{
"key": "{entry.projectkey.escapeJSON}"
},
"summary": "{entry.summary.escapeJSON}"
"description": "{entry.summary.escapeJSON}"
"customfield_10743": "[entry.customfield.escapeJSON]",
"issuetype": {
"name": "Epic"
}
}
}
=========================
The above script is able to create only the epic when clicking the form. But i required one more issue task also to be create along with the epic with example script so i will completed my below requirement.
My Requirement:-
JIRA ticket as an "Epic" and subsequently create a "Story" using the JIRA key created from the "Epic" as the field value for the custom data field tied to "Epic Link".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have a mapping for Story?
That should be in a different IFTTT that will be executed/placed after the one that you have
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any possibility on clicking on form will simultaneously created epic , story in one go and if that possible as you mentioned to create different IFTTT ,do we required to provide field value again as like for epic created ? Since for page creation we are calling the jira key as reference but not sure for story creation..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Of course it is possible to create more than one Jira issue on one form submit
But you need to have a separate IFTTT rule (an IFTTT per create). Have you added an IFTTT to create a story?
Alex
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.