Hi all,
I am trying to write a script that calculates the time spent in each status. I have adapted the code from here and change it to my status
It currently returns negative value in Some issue
Could anyone please advise me on how to fix this error ?
Hello @ABRAR ALMADI
Welcome to the Atlassian Community!
Per your description, I understand you have created a new script for Jira to calculate the time spent in each status, however, it is displaying negative values in some issues. Is that correct?
Since you are asking a development question, I believe you might ask for help in the Atlassian Developer Community:
https://community.developer.atlassian.com/
I saw you added a comment in the topic where you get the Script. I suggest opening a new topic about your question in the portal with this same description and the details of the time spent returned (Including screenshots) for you with the script, so all the users in the portal can see your question (Not only the watchers of the post you commented).
Let us know if you have any other questions.
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.