We have automation in place that generates a set of sub-tasks when a user is offboarded from our environment.
One of these sub-tasks is to archive that user's personal space (after verifying there's no content there that their former manager/team needs to access).
Is there anyway to have this task automatically link to their personal space?
Hi @Ashley Honeycutt ~ I like @John Price 's answer, but have you tried an automation rule that just creates a web link using smart values to append the user's username if that's captured in the Jira issue (like Reporter) to the URL:
https://yoursite/display/~{{reporter.displayName}}
This assumes your Confluence usernames are the same as your Jira usernames...
Hey @Laurie Sciutti - does that still work with all the privacy changes? I couldn't get the username version to work right, but may I had a typo someplace. I'm still a bit behind on how completely usernames have been phased out and where.
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.
Ashley -
I got this to work using a custom People field for the user to clean up and a custom URL field for the space to check. I don't think you can currently add a web link to Links using automation without using REST calls in your rule. See this request: https://jira.atlassian.com/browse/AUTO-289
Here's how I did my version. A bit tricky since accountId in the People object has dashes and a colon but the space URL doesn't. Try an Edit Issue Fields action and use the following:
{{baseurl}}/wiki/spaces/~{{issue.customfield_10090.accountId.replace(":", "").replace("-", "")}}/overview
That works for me. Note that it doesn't check whether the space exists; if not, you'll get a "Page Not Found" warning when viewing that field on the issue.
See if that works for you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Obviously change the custom field id :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashley - What are you defining as their "personal space"?
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.
Well, it's still a Jira question since it pertains to building a Jira automation rule. It just needs to create an issue in a project that includes a link to the users personal space in Confluence.
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.