Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×There is an "only assignee" condition that allows the transition to be executed only if the current user is an assignee.
I need a reverse of that – forbid the assignee to execute that transition.
On a related note, I cannot use "user is not in custom field" type, because "Assignee" is not a custom field.
Any ideas?
Hi @Pavel Kabir,
I think "Permissions based on Workflow Status" can help you with the case
https://www.j-tricks.com/tutorials/permissions-based-on-workflow-status
Exactly!
This property should work
jira.permission.transitionIssues.denied = assignee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you guys! Could you please explain what this would do for me?
As I understand, that will prevent the assignee from any transitioning of an issue that is in a particular status.
If my understanding is true, that would be a bit too strict – I just want to prevent the assignee from closing the issue. (just one type of transition)
That would really work best with transition conditions, but there just seems to be no appropriate condition for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavel,
Can you check what are your add-ons in you instance? I don't know all of the out of the box options with Jira Cloud, so maybe someone else can find you the right answer.
If you have not any add-ons or out of the box conditions for doing this, check this page and send it to your administrator and decision maker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian! Thank you for answering. Unfortunately I haven't found any free add-ons for doing the job, and the costs of the paid ones are too high for so simple a job.
I am really surprised that such a simple functionality (inverting an "if") is not available out of the box...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, check this workaround
There are 2 "virtual" permissions in Jira used for this situations: Close Issues and Resolve Issues. As far as I know, they are not used for anything else (do not affect to edit resolution neither end statuses)
Change your permission scheme and delete anything there which could allow the assignee to do it (groups, roles) and use permission validator/condition. Also, if you have a situation a bit more complex, then you can use properties to add or delete the resolver or close permission for other statuses.
Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi - I'm not sure this is the same issue but I'm trying to do a conditional submission where the assignee is mandatory and they cannot submit if it's set to Unassigned.
I put the transition that Assignee is mandatory but for the condition, I tried couple of conditions but not working - I want to say don't submit if the Assignee = Unassigned forcing them to add someone.
Maybe it's something really simple and I'm missing it.
Thanks!
Lillian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Pavel Kabir
Welcome to the community!
I need a reverse of that – forbid the assignee to execute that transition.
You mean that other than the Assignee users should be able to execute that transition correct?
If yes then don't add the Only Assignee condition on the transition, it will allow executing that transition to anyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
He also needs a condition like:
Only if issue.assigne != currentUser()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Cristian Rosas [Tecnofor], do you know where I can add the condition that you describe above
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fernando,
You need an add-on to do exactly this, but you have above this answer other ways to do this. Check workflow properties or use Resolve and Close permissions in your permission scheme as conditions or validators.
And if you want an add-on, there are many which allow you to do this:
Workflow enhancer, Scriptrunner, JSU, SIL language....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here is my use case.
the developer completes development and needs to have a code review completed. i do not want them to transition from development to code review and allow for them to assign it to themselves.
if i am following this thread correctly, i would need to research and install a plug-in to make this happen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on the tools you are using. Jira itself is not a tool for development but a tracker, but it integrates with development tools.
For example, if you have Bitbucket or Bamboo and integrates with app links with Jira, you unlock the workflow triggers and development panel.
Some add-ons are free and others are paid, look exactly what your use case needs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.