You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am using a scriptrunner behaviour to control the assignee field based on other fields. Is there any way to add those fields to assign screen.
I've gotten around this limitation once by simply disabling redirecting the Assign Button and Assign to Me links to always use the edit screen where all the behaviours will engage.
I've done this with a Show Web Panel Fragment using
Location = atl.jira.view.issue.right.context
Condition= jiraHelper.project?.key == "XXX"
def html =$/
/* we catch the ticket id */
var ticketId = JIRA.Issue.getIssueId();
/* we replace the assign url for the edit one */
var assignIssueLink = AJS.$("#assign-issue");
assignIssueLink.prop("href", "/secure/EditIssue!default.jspa?id=" + ticketId + "\"");
/* we replace the assign to me url for the edit one */
var assignToMeLink = AJS.$("#assign-to-me");
assignToMeLink.prop("href", "/secure/EditIssue!default.jspa?id=" + ticketId + "\"");