Groovy is based on Java, a good starting point is http://groovy.codehaus.org/. You can directly use the documented Java API of JIRA (see Atlassian API Reference). I think a good way to start ist to look at the examples in the Script Runner documentation and the scripts provided by Script Runner and maybe the Atlassian developer docs.
Henning
For changing the status you have to transition the issue through the workflow. You could use the built-in fast transition postfunction of Script Runner or you can do it on your own like described here. https://developer.atlassian.com/display/JIRADEV/Performing+Issue+Operations
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the script runner panel and try to fetch values from JIRA using the JIRA Api's .
You can try this as your first script . You can start with fetching current user , customfield value for a specific issue , number of issues , Project lead , etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to write a groovy script in which i need to change the statuts of the issue. can you please tell me how should proceed further
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.