-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
2
-
Problem
When the filter owner is changed, new owner should be able to manage the subscriptions as well.
Suggested Solution
Allow new owner to filter to manage subscriptions.
Why This Is Important
For various reasons, once the owner is changed, they would want to manage the underlying subscriptions as well. Although I see there is an API, I could not find a way from UI.
There is no way to manage subscriptions by anyone other than the person who created this, this can lead to issues.
Workaround
use the api to change it
sample script that can be run from an integrated console
import com.atlassian.jira.component.ComponentAccessor def sm = ComponentAccessor.subscriptionManager def filterId = 10003 def user1 = ComponentAccessor.userManager.getUserByName("user1") def user2 = ComponentAccessor.userManager.getUserByName("user2") def filterSubscription = sm.getFilterSubscription(user1, filterId) def expr = sm.getCronExpressionForSubscription(filterSubscription) ? sm.getCronExpressionForSubscription(filterSubscription) : "" sm.getCronExpressionForSubscription(filterSubscription) sm.updateSubscription(user2, filterSubscription.getId(), filterSubscription.getGroupName(), expr, false)