Hi,
this is my first post, so it is nice to say hello to all of you!
I need to prepare a Scriptrunner validator to create transition to:
I hope anyone will have ideas! :)
I haven't tried it...
But see if you get get the value of the custom field "Epic Link" from your new issue during the creation transition.
This should be either an issue key (string) or an issue object.
From there, compare the assignee for the issue in that field against the current user.
If the field is empty, that means this link is established after the fact and a workflow validator on the creation transition will not work.
You might want to attempt using a fragment to just hide the "create issue in epic" web item based on whether or not the current user is the assignee of the current issue.
But that won't prevent a user from later associating an issue with an epic either with just drag/drop in a scrum board or via editing the epic link field manually (either one at a time or via a bulk edit).
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.