Im setting up an automation rule to do the following.
I cant get the last piece to work which is the newly created issue that kicked off the automation rule to have a comment posted indicating the other linked issues have the same customer number.
Ive tried multiple ways using the following smart value but none post the issue key into the comment - {{issue.fields.issuelinks.outwardIssue.key}}"
Any help would be appreciated.
Step 1
Step 2
Step 3
Full Comment from step 3
Community moderators have prevented the ability to post new answers.
In step1 you create the links:
link type = ?
in step3 you try to geht the key of these links:
link type = outward
{{issue.issuelinks.outwardIssue.key}}
can you use the "reload" function befor step 3?
maybe the link is there, but aotomation does not see it because you just created it
Thanks for the response. I added the re-fetch action but same result, was not able to pull the linked issues keys into the comment. I tired the smart value you indicated as well but didnt work. i was using outwardIssue in my smart value initially as that's where the data resides within the array when i run the end point from postman https://{{host}}/rest/api/2/issue/<issueKey>?expand=names
Im using the duplicates linkedIssue option but can really use any. Screen shot of newly created issue with the same customer number, blank linkedIssue key in comment.
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.
@Alexander Pappert The destinationIssue smart value didnt work but it lead me to another thread by searching some key words fund in there which lead me to the smart value solution. In essence, i didnt need the issue.fields step and once I removed .fields, I got the results I was looking for. If you update your initial solution with a link the codebarrel article you had, i'll mark your answer as the solution.
Only caveat im seeing is that only the last issue has an active link in the comment.
This ticket has the same customer number as {{issue.issuelinks.outwardIssue.key}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I updated my initial post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Julian Governale ,
I don't know a lot about the outwardIssue smart value but you could try an issue lookup action and comment with the smart value.
The smart value provides a list of issues as the result based on a JQL search. You can use the issue key and Jira should automatically convert it to a link (note I put a space after the {{key}} and the {{/}} ).
{{#lookupIssues}}{{key}} {{/}}
- John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @JD this is great as it add's links to all the Keys! Much appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks !!
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.