i wanted set the Developer field values as same in assignee field in a transition screen.
I've tried with Groovy script ( set field value ) on post function.
Below is the code snip:
it complies without any error but the screen doesn't showing the expected result.
Any suggestions on this ?
You don't appear to be using a set in your code. When you do, https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/postfunctions/set-issue-attributes.html is a good bookmark for sample code.
@Nic Brough _Adaptavist_ Thank you :) That really worked well.
below is the final code :
def userUtil = ComponentAccessor.getUserUtil()
if (issue.issueTypeObject.name == "Bug")
Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...
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