API Access to Internal(INT-XXX) Tickets

Couldn't find any way to add an update to JIRA internal ticket. When I go to browser, I can update the ticket(I mean I can add a work log entry) but couldn't do it using API. In my case, internal tickets are like "INT-123". Why aren't they accessible to API? Or how can it be done?

1 answer

0 votes

>but couldn't do it using API

Which API, what are you trying to do, does other stuff done via this API work, and what is the error message or symptom of this failure?

I was trying the worklogs api. Error message was "You don't have permission"(something like this).

I can see them in my browser.

Ok, I was looking for REST or Java API as an answer to that, I don't know what you mean by "worklogs api", but I guess it's the worklog functions within REST or Java.

"You don't have permission" is pretty clear - your code is logging in with a user who does not have the rights to work on the issue.

Ok, thanks for your reply. My concern is, if I am permitted to add a worklog entry from web application, why I am not permitted to do that using API?
I was talking about WORKLOG api.

It's still probably that your code is logging in with a user who does not have the rights to work on the issue.

But I can add work log entry from web browser.

I'm not sure how else to say this - if your API call can not do something, but you can do it in the UI (or the other way around) then the users you are using for the two actions have different permissions.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,946 views 19 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you