How do I create an automation rule to automatically link this new issue to an existing issue using the issue key?
For instance I have created parent task and when I create an issue from JIRA I want to set a rule to automatically link this new issue to the parent issue using the parent's issue key
right now it only says - link to previous issue, most recently created issue - both dont work for me!
Hi @[deleted]
Welcome to the community.
Do you want to link parent issue and sub-issue? Because there is parent/subtask connection and you don't need to link them. If you want to link two independent issue, that's ok.
Is new issue created by automation? It could be better if you could share a screenshot.
hey I create the new issues directly from slack using /jira create
>> creates an issue on my project space >> but I also want to map this to a parent issue as soon as an issue is created
Parent issue is already set up on JIRA
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So since the ticket of issue type: Reviews is created - I want this new ticket to be automatically linked to the primary ticket on JIRA - FO-28
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue created by Slack is also a parent type issue. So, you want to link parent to parent. In order to link an issue created Slack to FO-28 automatically, you can configure the automation as below:
Write FO-28 manually. You can also add condition before linking such as "If Issue Type = Reviews" or "reporter = user123" etc to prevent linking for all newly created issues.
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.
You see I do not get an option to mannually enter it - thats the problem!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, there is no option. Just write in keyboard :) It works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
haha thanks! :) Suggestion to the product team pls! It wasn't super intuitive here! :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome !! Yes, it should be improved for sure.
Btw, could you please accept the answer so others can find the solution easier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tansu Akdeniz , when I follow the instructions above, I am getting an error. Can you advise?
SOC2-662 is the trigger Jira so I don't think the problem is that I don't have permission to see it. I've tried various examples using the advanced edit, but they all result in this same error.
I appreciate any guidance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Example of attempt using advanced:
{
"update": {
"issuelinks": [{
"add": {
"type": { "name": "Relates" },
"outwardIssue": { "key": "SOC2-943" }
}
} ]
}
}
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.