Workflow properties: allow only assignee to assign issue

Hello! Our company uses JIRA server mainly as a bugtracking tool. I want to restrict certain workflow statuses (every 'work in progress' status) so that only the currently assigned user (assignee) can assign another user.

As I understand it (the documentation seems to be very poor) the way to do this is using Workflow Properties. I tried

jira.permission.assign.role = assignee

but it doesn't seem to work and some users even get errors when viewing an issue. What is the correct syntax for my problem? Is there an role ID for the assignee?

Thanks in advance!

1 answer

1 accepted

This widget could not be displayed.

"the documentation seems to be very poor" - I'd say that's an understatement!

Despite that, you've managed to get quite close.  My notes say that the format of it is:

jira.permission.[subtasks.]{permission}.{type} = <something>

The [subtasks] I'm not sure about, and it's optional.  I think it's to do with saying "no, bob, you can't create subtasks while in this status", so let's ignore that for now.

Your line is "assign.role = assignee".  That will nearly work, but not the way you think.  The role is a user role in a project, not a user/issue role.  So you'd actually use it to say "assign.projectrole = developer" and it would refer to people in the role of developer in that project.  You could have a role called assignee, but it's a role, not the assignee!  Also, it will want the id of the role, not the name.

I think you want

jira.permission.assign.assignee = true

Thanks, this was exactly what I was looking for!
Btw, using the role name acutally works for me. I'm using = QS

and it does what it's supposed to do.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

565 views 25 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you