Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira API and groovy documentation

I am new to Jira API and groovy. I am doing the automation of JIRA using script runner in groovy language. I want to have some knowledge of the JIRA API functions so that i can code using them. Please share some link or any document to help me from the beginning with JIRA API functions description.

2 answers

90% of sciripts begins with the ComponentAccessor class.

You can find API about the class here:

https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/component/ComponentAccessor.html

You need to import the class first in your script:

import com.atlassian.jira.component.ComponentAccessor

 Then you need to define, what you mean. You can get all kind of managers ((IssueManager, ProjectManager, JiraAuthenicationContext) and so on) through the class  and then use the methods of managers to solve your requirements.

Thank you so much..

Hi @srishti singh ,

You can find interesting Groovy use cases on my new blog, where I will be sharing examples of Groovy usage in real-life applications.

I encourage you to have a look at it and sign up for the newsletter, there will be more interesting stuff there.

Cheers!

vivek I'm New Here Jul 06, 2021

@Mentorship4U  Your link doesnt work.please help me with the correct link

Hi, the link is:
https://www.mentorship4u.com/

Can you send a screenshot showing what you see when you click it? (it works on my end).

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you