restrict assignee based upon workflow transition Edited

Jack Brickey Community Champion Jun 06, 2017

JIRA Cloud

Use Case: I have a two-step closure workflow (Resolved --> Closed). When a user moves an issue to Resolved I have a screen that requires them to update the Assignee. I wish to limit the possible assignees to a list.

I have been searching for a solution w/in the community and found what I hoped would have worked but so far no luck. The solution has to do w/ leveraging the workflow Properties on the transition. I have never played w/ Properties so either my expectations or wrong or my implementation is wrong. Here is what is did:

on the Resolve transition I added the following property:

  • Property Key - jira.permission.assignable.group
  • Property Value - the group I setup containing the list of assignees

Any help is appreciated.

p.s. i prefer a native solution. hard to justify the cost of a plugin for this.

1 answer

1 accepted

0 vote

Ah, that property is a step property, not a transition one.

Try adding it to the "resolved" step in the workflow, you should see the assignee option list changes to your group when clicking assign or going through an outgoing transition with the assignee field on it.

Jack Brickey Community Champion Jun 06, 2017

thanks for the reply Nic. So i'm going to try that just so I understand how it works or see it in action. However, I'm not sure that ultimately will meet my use case as I want to force the user to reassign via the resolve screen and I want to restrict their options on who they can reassign to. Maybe there is another way to achieve my goal?

Jack Brickey Community Champion Jun 06, 2017

actually it does in fact work on the Resolve screen so that is great! Though I haven't wrapped my head around why given it is on the state of Resolved and not the transition.

It's because transitions are variable, you don't know if the assignee is going to be offered.  More importantly, it's not just transitions that might change assignee, there's the assign/assign-to-me and edit options.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

239 views 1 18
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