I am trying to use the updatedBy()-function in an API-Call (GET on search/jql).
It does work when I am not providing any date in the query. E.g.:
"issuekey IN updatedBy('*')" works (returns several issues)
while
"issuekey IN updatedBy('*','2024-11-11','2024-11-14')" is not working (returns zero issues).
The same query (with the dates) works just fine when executed in the search bar in the GUI, so by my understanding the issue lies with the API.
Welcome to the community.
Please use issuekey IN updatedBy("*","2024-11-11","2024-11-11")
Double quotes need to be set.
Does not change anything.
issuekey IN updatedBy("*","2024-11-11","2024-11-14") does not return anything while
issuekey IN updatedBy("*") is working just fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On my instance and other instance I manage, this provides results.
How does you API call looks like, does issuekey IN updatedBy("*","2024-11-11","2024-11-14") give results in GUI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using this query in addition to cf[10086] ~ "K*". During testing I found this behaviour:
This API-JQL-Query works: issuekey IN updatedBy("*") AND cf[10086] ~ "K*"
This API-JQL-Query also works: issuekey IN updatedBy("*","2024-11-11","2024-11-14")
This API-JQL-Query does not work: issuekey IN updatedBy("*","2024-11-11","2024-11-14") AND cf[10086] ~ "K*"
Is this intented?
Edit: This query also works: issuekey IN updatedBy("*","2024-11-11","2024-11-14") and cf[10086] IS NOT EMPTY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So all works except, issuekey IN updatedBy("*","2024-11-11","2024-11-14") AND cf[10086] ~ "K*"
This could be simply valid as you want to find issues in an updated range by anyone and the custom text field should start with K
If there is no issue in the time frame matching this, no results will be given.
So this is expected
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Found the problem: my API-JIRA-Account does not have the same permissions as the one in the GUI.
Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.