I'm a JIRA administrator and I need to set up a workflow according to the following security requirements.
* Issues should only visible to the reporter plus people who 'participate in', in which I define 'participants' as the set of individuals where each one has been a past or present assgnee of the particular issue.
For example, consider there are five people (A, B, C, D & E) in the project called XYZ.
- A creates an issue - it should only visible to A
- A assigns the issue to B - it should now visible to A & B. Not to the others.
- B assigns the issue to D - it should now visible to A, B & D. Not to the others. (note that B now is a past assignee)
I hope you understand the pattern that I explained here.
I have already tried this out with the JIRA toolkit plugin, but what it identifies as participants is, reporter + assignee + all commenters. So JIRA toolkit plugin does not seem to satisfy our requirement.
Highly appreciate if somenone could help me to sort out this.
Thank in advance!
You can't do this, although your use of the participants field gets you very close. It fits well if B always comments on an issue when they reassign it, because they'll then be caught by the "all commenters" part of the plugin.
I think you'll need to take the "participants" code and extend it to build a plugin field that does go back over the history and extracts the past assignees.
Thanks a lot for your helpful answer.
Is there a way to automatically add each assignee into a multi user picker custom fild during each transition? This should happen automatically with something like a post funtion.
So we can validate that custom field in permissions.
In our business case, assignee only changes during the transitions. No one can edit the issue and change the assignee.
If this works, I think we do not have any coding to do. :)
It's been a long time since I posted this question. I'm marking this as the best answer but I just mention the following alternatives that are also possible I guess.
Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events