You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
We have a workflow wherein a primary form is created which will create subsequent service requests for tracking and auditing purposes. I've gotten the creation / management down, but I can't quite figure out how to establish links for the issues.
The automations only allow me to select software projects for linking operations, and the fields documentation doesn't work for service. Just returns:
Are you trying to create issue links as part of a Create Issue action?
Have you considered using the Link Issue action instead, after the Create Issue action?
Can you show us your complete automation rule and the details of the step where you are trying to add links?
Can you show us the rule Audit Log showing the messages that are logged when the rule executes?
Can you provide more information about the following statement? What exactly are you trying to do? Maybe a screen image would be helpful.
The automations only allow me to select software projects for linking operations,
This is in the Create Service Request action (Service Desk), not Create An Issue (Software). I have indeed tried the link issue action within the automation, but in the Service Requests that get created, there is no established links setup on the requests after creation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Below is an example of the audit log. It just shows the successful phases for the request creation, but not specifically anything about the linking
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your Link Issue action, based on its position, is in the context of the trigger issue, not the newly created issue. The net effect is it is trying to link the trigger issue to itself.
If you want to link the newly created issue to the trigger issue then:
1. Add a Re-fetch Issue step after creating the new issue.
2. Set your Link Issue action thus (selecting the appropriate link type):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh that got it for me! Thanks! I'm relatively new to automations so I wasn't even aware fetching was an action!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup, @Trudy Claspill got there first; I had to go back to my sandbox and prove that linking in JSM works. But my next comment was going to be about issue context!
FYI, if you were to use the JSON to do the linking instead of the link issues action, you should be able to use {{issue.key}} as the inward issue link in the Create Issue action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @darrellb - how are you trying to link your tickets in your automation? Via the Link Issues action? You may not be able to do it that way, but you should be able to via the More Options JSON field at the bottom of most actions.
It would look something like this:
{
"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "Problem/Incident"
},
"inwardIssue": {
"key": "{{issue.key}}"
}
},
"add": {
"type": {
"name": "Problem/Incident"
},
"inwardIssue": {
"key": "{{triggerIssue.key}}"
}
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that but received the error listed in the original statement:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll give it a shot though and see if maybe this one is different than the one in the docs!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can definitely link tickets to a JSM ticket; we do it all the time both manually and via automation JSON.
Is it possible you don't have Linked Issues available in your JSM field configuration or on the screen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to clarify, if you try my example you'll need to update "Problem/Incident" to match one of your system's valid issue link types.
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.
Yeah the issue isn't the Type, it's that the issueLinks key doesn't seem to exist in the service request as pictured above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Is it possible you don't have Linked Issues available in your JSM field configuration or on the screen?"
We definitely have them enabled. I can manually link via the UI without any issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As a point of reference. I can manually create links in the JSM UI and see them. They're just not appearing via the link automations.
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.