Hi All,
I am cloning an issue with automation rule on webhook trigger. Webhook data provides the issue to clone.
Now in the cloned issue, I want to add the next planned sprint (sprint with the earliest start date and if start dates not available, the sprint with smallest sprint id) of the board where the trigger issue's sprint is located.
Any idea how I can do it?
As you have multiple criteria (i.e., start date and id) to select the Sprint for the cloned issue, the rule would need to use the Send Web Request action to call the Jira REST API to gather the sprints for the project, filter as needed, and then select the one to use.
Kind regards,
Bill
Hi @Bill Sheboy ,
Thanks for your response!
I am adding my automation rule as ".json" code here. Can you please help me on how can I make it better? I am cloning the issues in the first action and then working on the sprint logic. But am not able to figure out how to add the sprint to my cloned issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, I recommend removing that complete JSON for your rule. Asking people to import you rule into their sites may be less helpful than posting images of your rule, the actions, and the audit log details.
Next, please see my original recommendation, try to implement it, and if you run into challenges explain what is not working as you expect. Here are some references to help you get started:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am following up to check if you tried the method by calling the REST API endpoint to find the sprint needed.
Thanks,
Bill
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.