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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,670
Community Members
 
Community Events
176
Community Groups

Google sheet & JIRA integration using Google App script

Hey, Im trying to integration Google sheet to integration with JIRA using Google App script to count for a given JQL. in some forum mentioned that i will get 

response like below:

{"expand":"schema,names","startAt":0,"maxResults":50,"total":29521,"issues":[]}

But, for the same

URL https://abc.com/rest/api/2/search?jql=project in (MOBILEDEV)

I'm getting response as expected in browser but not in Google app response. 

 

var headers = {"Accept":"application/json", "Authorization": UserCredentials};

var options = {"method":"GET", "contentType" : "application/json", "headers": headers,"payload" : "payload" };

var response = UrlFetchApp.getRequest(IssueURL, options);

Logger.log(response);

 

any hep appreciated. 

Thanks. 

Shiva

 

2 comments

I used the API and this app to connect the two

Thanks but I want the counts out of JQL result, I don't want the details of the JIRA tickets. 

I have learned that, we have to use  var resp = UrlFetchApp.fetch(IssueURL, options); instead of getRequest but fetch throws bad request exception. 

any help appreciated. 

 

Thanks

S

Comment

Log in or Sign up to comment