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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

update user to project role using script is not working

Prashant Mali
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.
Nov 12, 2019

Hi Team,

we are using script post function on workflow transition in Jira. the use case is to add custom field users to the project role.

but sometimes it is failing. some users are automatically disappearing from the role. I don't know why.


Could you please help me proper script which can resolve above issue.


1 answer

0 votes
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 16, 2019

Hi @Prashant Mali ,

I would suggest to look in the Jira Server API.

Sample query would look 

POST - api/2/project/PRO/role/12321 - {"user" : "testuser"}

It is also important that the user already has access to Jira / Service Desk.

POST - api/2/group/user?groupname=jira-servicedesk-users - {"user" : "testuser"}

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events