Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Is it possible to take users manager and set it as the approver in JSM Automation?

Edited

Background: 
I have setup Atlassian Atlas to pull in user details from Okta, this includes their manager. That part is all setup and working, users have correct managers set in Atlassian Atlas. 

Request:
In JSM, is it possible to then set a custom user picker field "Approvers" to default to the users manager that is stored in Atlas. 

Attempts: 
- In JSM Automation, I have tried using 'smart' values, to edit the "Approvers" custom field - however there is none for Atlassian Atlas. 
- I have tried using Okta API workflows to inject in an API call to set customfield = managerID via JSM API. 

I really don't want to buy a market plugin, this must be possible OOB because Atlas has the manager field. 

1 answer

Hi Ronan,

Im experiencing the same problem, i have question, did you used  Atlassian Atlas or Access to pull/sunc user manager from Okta, also did you use ScriptRunner to add user manager as approval or other plugin.

 

BR,

Alex

Hey Alex, 


For some reason I never saw your question here. 

I ended up using Okta Workflows with basic Jira API calls to do this. No script runner or additional plugin's, just using JSM approval steps in the workflow.

Being able to call the user (and know their manager from another source) allowed me to then do a PUT request via Jira API 3. I've your using Okta, 10000% use workflows. 

Hope that helps. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events