Occasionally we will get a request via JSM that requires support in from a team that works out of a JSW project. (Example: a help desk request comes in and we realized we need support from DevOps to enable the request so we create a task in the project for DevOps and link it to the JSM ticket).
Since customers can't view linked issues from their end, we are using Project Automation to leave a comment that contains a link to the linked issue in the other project.
I'm having trouble figuring out the smart value needed to post that link.
Suggestions are greatly appreciated, thank you!
The smart value for a link is {{issue.url}}. Does that help or did I misunderstand the question.
I'm looking for the smart value for the linked issue(s). So if we had a linked issue that relates to the current issue, the url for the linked issue gets posted as a comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know of a smart value that will return the list of linked issues for an issue. What I did was to evaluate a Jira expression and use the return value in a comment. This works if there is a single linked issue. If there is more than one linked issue, then you will need to do more work:
The web request is as follows
Make sure that you click the Delay Execution checkbox or you won't get a result.
The resulting linked issue key is {{webResponse.body.value.links}}. You can put this into a markdown so that the comment provides a link to the issue itself:
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.