Hi Team,
Could you please help me out,
I have a scenario like,
Customers are facing problem because of this. Please guide me.
Could you please help me out. then we will change our code base accordingly.
Thank you,
Satish C,
Hello Satish,
Please clarify more
Are you trying to create a workflow post function to transition the related tasks?
Can you share your code? Are you getting any error/exception? Or the problem is uncompleted transition for the two related issues?
Thanks
Hi Tuncay,
It is a webhook event, I didn't get any error/exception. I got inconsistent data.
I share the basic code where i got the problem, from this jira package com.atlassian.jira.issue.IssueManager,
webhoook event is >> Issue issue = IssueMannager.getIssueObject(jira_defectId);
scenario : While i change the jira bug status from TO-DO to In Progress in jira 8, then i used to get the issue data using above event. instead of in progress status it is getting TO-DO.
I have passed different defect ids to this above webhook event, but i didn't get expected result, example If i selected In progress status for that particular defect, instead of In-Progress status this webhook event result is TO-DO some times.
Please help me out.
Thank you,
Satish C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Satish,
I'm not sure but it sounds like a race condition.
The issue fires the event just before persisting to database.
Is it possible to wait a while before running issueManager.getIssueObject(jira_defectId) code?
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.