Hi Team,
We want to create incoming webhook for the automate the log hours of users.
For example:
We have created one issue for tracking the leaves for the users. We are using third party application for leave tracking. So we want to integrate this tool with Jira.
Can I provide the user details in webhook data. Is it possible or not?
I have created one rule but it is taking as automation for rule only.
PFA for the reference. We need to do the log hours in the name of user. So how can i pass the user details in the webhook body.
Hi @Charan goud
That is not possible yet. Here is the suggestion to add the capability to log work on behalf of another person:
https://codebarrel.atlassian.net/browse/AUT-1736
Best regards,
Bill
Thanks for your response much appreciate!
There is no suggestion on the mentioned ticket. I am unable to see the request https://getsupport.atlassian.com/browse/JST-552299 in that ticket comment.
Please let me know can we do using REST API and scripts. Is there any way to do this.
Thanks.
Charan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Charan goud
I also wish we could vote on those items in the Code Barrel backlog too.
Regarding the REST API to log work, I have not done that but it seems to be supported in the REST API:
https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/issue-addWorklog
And if you want to continue to log the work from Automation for Jira rules, I expect you could call the REST API using a web request from the rule. Here is an article describing how to do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for your suggestion.
I have checked with my dev team. They are telling us we can't do with REST API.
We will see, can we do it with Automation for Jira in the future?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.