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")
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome @Bollareddy !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am completely new to coding and all my information was taken from me. I need help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might want to raise this as a new question, one that has detail on what you're actually looking for. (The only people you've really reached here are the two posters and any watchers)
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.