-
Suggestion
-
Resolution: Unresolved
-
None
Issue Summary
Allow data from within Atlas to be available in other parts of Jira (eg: Automation Rules)
Use case
- A customer has synched manager property from Okta to Jira using Atlas using the instructions here https://hello.atlassian.net/wiki/spaces/CASTKB/pages/1730510673/Configure+Okta+to+show+the+manager+under+the+Reporting+Lines+functionality+on+Jira
- They would like to be able to access this manager information within Automation Rules
Workaround
(1) Populate manager information in user entity property
- Using the endpoint, Set user property, we can set a property called the manager to store the manager’s name something like so:
curl --request PUT \ --url 'https://myawesomesite.atlassian.net/rest/api/3/user/properties/manager?accountId=1234:123123-1234-1234-1234-123123123123123 \ --user 'me@mycomany.com:token' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data ' {"value":"MyManager"}
- Once the information is in user properties, we can use this in Automation Rule using smart values. If we want the reporter’s manager information, we can use something like the following:
{{reporter.properties.manager.value}}
(2) Populate manager information in a custom field
- is related to
-
ATLAS-172 Allow data from within Atlas to be available in other parts of Jira
- Gathering Interest