Hi., I have a coding knowledge and able to write a code. </Br>Problem, is i don't know where to place written code by using script runner plugin, (Write in Console). run the code in Script runner console. No Errors. For Ex Requirement: Custom Field: Do have an on this product? If Yes...Assign to User1. If No---Assign to User2. This is my Requirement. But i don't know where to keep the code in JIRA. Please Navigate me step by step. Thanks for your patience.
Hi @Bollareddy ,
Welcome to community.
I highly recommend you check this link.
1) You can test your groovy code from Script Console. When everything is fine,
Btw, it is better to create a .groovy file, than locate under ../JIRA_HOME/scripts directory and select it.
Conditions and validators also work in a same way.
For Ex Requirement: Custom Field: Do have an on this product? If Yes...Assign to User1. If No---Assign to User2.
You can definetely do that via groovy.
ps: Don't forget to remove static issue key from your test code. System automatically recognizes "issue" object.
//Issue issue = ComponentAccessor.getIssueManager().getIssueObject("ABC-297")
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