Hi,
I am trying to update a custom field on the parent issue based on the number of subtasks using the JIRA automation. So far, I was able to count the number of subtasks under the issue using {{issue.subtasks.size}} which is working perfectly!
I would now want to count the subtasks that are "Closed" and update the count in the parent issue. What combination of the smart field works for this?
Sergio,
you can use webhooks or an api call to the other app from a listener or post function using some plugin like script runner.
if you need to send a couple of fields a webhook is ok
to update a ticket in an external app. Only I can send the data by PUT method. but the webhooks send the data using POST method.
That is the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sergio,
Do you try using an Script Listener with Script Runner?
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.
Sergio, are you using cloud or server version?
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.
Sergio, sorry for the delay.
Here you can find a lot of samples of groovy scripts calling an external rest service:
Hope it helps
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.