Hello !
so i am trying to get all the columns inside a filter using GET method but i dont know why its not working :
for example i want to get all the jira requests that are finished the filter id is : -5 so i am using :
"myhostnameUrl"/jira/rest/api/3/filter/-5/columns
my view URL is something like : http://"myhostnameUrl"/browse/DSUP?filter=-5
what am i doing wrong ?
Thanks !
Filters do not have negative numbers for their ids, so -5 looks wrong to me. I'd take a closer look at your url, and get the actual filter id (it's most likely to be a 5 digit positive number)
thanks for you answer
this is the link i have on my browser :
https://MyhostName/jira/issues/?filter=-5
and my request is something like this :
https://jira-int/jira/rest/api/3/issue/filter/-5
the -5 filter is the a default filter to give you all the open requests i dont know what is the problem i am sure there is something i dont understand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i created another filter tried this https://jira-int/jira/rest/api/2/filter/121530/ and its working like magic now but https://jira-int/jira/rest/api/2/filter/121530/columns
is not working do you have any idea ? should i put the exact column i want or how ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
done fixed it for any one out there looking for an answer
the right command is :
https://"yourhostname"/jira/rest/api/2/filter/"the id of your filter "/
to get columns you must set your filter to listview and then :
https://"yourhostname"/jira/rest/api/2/filter/"the id of your filter "/columns
hope it helped someone out there
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.