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
Next: Root
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
Hello,
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.
Regards,
Seif,
Hi Seifallah,
Unfortunately, the Assign button is an action and cannot be modified as mentioned on the community post here.
I hope this helps.
Regards,
Kristian
Thank you for your feedback
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
Script:
def html =$/
<script>
/* 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.addClass('issueaction-edit-issue')
assignIssueLink.removeClass('issueaction-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.addClass('issueaction-edit-issue')
assignToMeLink.removeClass('issueaction-assign-to-me')
assignToMeLink.prop("href", "/secure/EditIssue!default.jspa?id=" + ticketId + "\"");
</script>
/$
writer.write(html)
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.