Forums

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

Subscribe to Jira Filter using Rest Api

Nico February 6, 2019

Hi there,

 

I have created a Jira search filter, using this request:

POST /rest/api/2/filter

 This worked pretty well. Now after I create the filter, I want to get automatically subscribed to it.

Is there a way to do it with the rest API? Or is the only possible way to do it manually?

Thanks.

 

Edit: In the documentation: https://docs.atlassian.com/software/jira/docs/api/REST/7.4.1/#api/2/filter-createFilter

I have found the "subscriptions" property, but I can't seem to figure out how exactly I have to write this, for correct syntax.

1 answer

1 accepted

1 vote
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 8, 2019

Hello Nico,

You can do a GET to see the filter subscriptions values you have via:

GET /rest/api/2/filter/favourite?expand=subscriptions

But Unfortunately there is not an option to edit the subscription, and we have this Feature Request tracking interest in adding a method to support editing subscriptions.

Regards,
Earl

Nico February 11, 2019

That's a bummer. But thanks for your answer!

Like Earl McCutcheon likes this

Suggest an answer

Log in or Sign up to answer