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


Problem with worklogsByIssues.

If I try command in Internet explorer I get message "The webpage cannot be found" but when I execute it in Chrome I get a blank screen as result. Both are incorrect results.

I see following messages in the JIRA access log :

for Internet explorer : 864x24663x1 u33925 [12/Oct/2016:14:24:22 +0200] "GET /jira/rest/jira-worklog-query/1/find/worklogsByIssues?startDate=2016-01-03&endDate=2016-10-09&user=U81775 HTTP/1.1" 400 - 2954 "-" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/7.0)" "1xwxeb3"

For Chrome : 870x24733x1 u33925 [12/Oct/2016:14:30:50 +0200] "GET /jira/rest/jira-worklog-query/1/find/worklogsByIssues?startDate=2016-01-03&endDate=2016-10-09&user=U81775 HTTP/1.1" 400 - 3095 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36" "1x6svj5"

Can you tell me what's wrong?

2 answers

A 400 means that the request was malformed. In other words, the data stream sent by the client to the server didn't follow the rules.

In the case of a REST API with a JSON payload, 400's are typically, and correctly I would say, used to indicate that the JSON is invalid in some way according to the API specification for the service.

What exactly are you trying to do? the "command" you enter is actually a URL, and the url might not want to be called with a GET request, but maybe with a POST.. If you tell us a bit more of what you are trying to accomplish with this URL, we might be able to guide you better.

We just want to summarize the worked time out of our JIRA issues. And I just performed what is written in the documentation of this plug to understand how it works.

Refer to http://myjira/rest/jira-worklog-query/REST-API-VERSION/find/worklogsByIssues in the "Summarize worked time by issues" topic of the plugin documentation. 

So I first logged on to our JIRA instance and executed the command (URL) afterwards.

Though command based on documentation topic "Querying worklogs modified during an interval" (http://myjira/rest/jira-worklog-query/REST-API-VERSION/find/updatedWorklogs) returns output as described in the documenation. 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

504 views 6 0
Join discussion

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