Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there is any way to get the selected columns after saving the filter view in jira?

kuldip panchal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2022

Hi,  

 

I am new to Jira and I created Jira custom app using Atlassian connect express.  

 

I used api from (https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/.) 

Atlassian components from (https://atlassian.design/components/.)  

In my app there is two filter dropdown is present, one is for columns and another is status of issues in Jira. 
 

For saving the filter view, I followed the below steps:- 

  • Create filter on save button. (/rest/api/3/filter.)
  • Search filter for get all created filter. (/rest/api/3/filter/search).

But the problem occur after create filter that only the status filter is saved properly, but columns are not saved in it. 

I tried to set columns after the filter is created but it not work for me.

  • Used set columns api. (PUT /rest/api/3/filter/{id}/columns) 
  • Also try to get columns. (GET /rest/api/3/filter/{id}/columns). 

 

Here I attached my Github link please refer it. 

For starting the app you can read Readme.md file after clone the project. 

When I save the view, I also pass the selected columns but, I cannot retrieve from the GET API. 

Please help me in this if any one has idea about this.

Thanks. 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events