Could you please advise how to get all issues and update newly created entity property for JIRA Cloud? And if my following solution (looping through all issues and update them) is the only one in this case? Because I’m afraid that performance in this case will be not so good.
Let’s say, that I would like to have a custom JQL function, which I can make via adding some information into Entity Properties based on the issues links.
But how better to add this information to all already existing issues?
Sure for future created/updated issues I can add a webhook that will add/remove this information, but how to make an initial step and check then update all issues at once? I’m afraid that it may consume a lot of resources and take a lot of time to process all of them, depending on the project size.
The workflow will look like this:
- Initial plugin setup:
Get All Issues > Loop through them > Add/Update Entity Properties (via REST API) for every issue
- Later will add some webhooks on issues updates to make Entity Properties updates.
- After that, will create a new JQL function (alias) to search for these Entity Properties values.
Will be appreciate for any help.
Thank you in advance.