I am automating the onboarding for multiple projects. I have an automation that when an issue is created for HR, it then creates two linked clones for Finance & IT. How do I get those two issues created in my automation to link?
I tried to use the link issue in automation for recently created but it just links the same issue that is the cloned parent.
Hi @Aaron Geister _Trundl_ - I think you need a couple things here:
{"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "LINKED ISSUE TYPE"
},
"outwardIssue": {
"key": "{{varIT}}"
}
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, but you need to set the link type that you want (e.g. "Relates To", "Blocks", etc.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where do I put that at? In the Json?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes - Just replace LINKED ISSUE TYPE in my JSON
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much been chasing this all day and it was much simpler than I thought. I started by trying to query a global query to do this and link issues after the fact.
You have saved me many hours!
I appreciate you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark Segall
Can the file look like this so it will carry the cloned issue link from the parent clone plus the clone from the other project? Or is there no need for that if the linked issue is set on the field setting?
{"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "Cloners"
},
"outwardIssue": {
"key": "{{issue.key}}"
}
}
}
]
}
}
{"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "Relates"
},
"outwardIssue": {
"key": "{{varIT}}"
}
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can definitely add the clone link to the trigger issue. You should be able to perform it in the same update action. Try this:
{"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "clones"
},
"outwardIssue": {
"key": "{{issue}}"
}
"type": {
"name": "relates to"
},
"outwardIssue": {
"key": "{{varIT}}"
}
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. This is all json correct. I am wanting to learn the format so I can do this daily. I need to look up more how to formulate these. Do you have any suggestions? Good sources.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't found a single reference for this stuff. I've found most of my answers searching here in the community. However, ideally you want the "More Options" section to be more the exception than the rule. Technically, you could have branched into one of the new tickets and used the add link action for this scenario. I just proposed this approach to reduce the overhead on the rule.
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.