How to link a user with his line manager in Jira when creating a ticket?

Yousif Al Rawahi May 7, 2024

I want to make the link between a user and his line manager. To make it clear, on create view when I create a ticket, when I choose the user (user picker field), it automatically shows his/her line manager on another field. Can I apply it using scriptrunner or any other plugins?

2 answers

0 votes
Pasam Venkateshwarrao
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2024

Hi @Yousif Al Rawahi 

 

Through Automation its possible 

 

if the field is updated with the particular user automatically it will update the required field.

 

 

Yousif Al Rawahi May 7, 2024

I want it when I create a ticket, when I choose a name from the 'Staff Name', it will automatically appear his manager in 'Line Manager'.Screenshot 2024-05-07 130111.png

0 votes
Stephen_Lugton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2024

@Yousif Al Rawahi you can do this with automation:

When assignee changes

Then change other field to be their manager (you will have to use if to choose which manager to assign, and update the automation when users leave or join)


This will not update the manager name on the create view but will take effect after the ticket is created.

Yousif Al Rawahi May 7, 2024

I want it when I create a ticket, when I choose a name from the 'Staff Name', it will automatically appear his manager in 'Line Manager'.

Screenshot 2024-05-07 130111.png

Stephen_Lugton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2024

Unfortunately that is not possible out of the box as the validation that allows automation only takes effect when the ticket is actually created.

However, it may be possible to do this using an app plugin but I don't know if any apps do this as again they may run into the validation only occurring on creation issue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events