I have a case where I need to have a custom field called % of Completion (number) and it should auto populate the % based upon the workflow of the task.
This also has another scenario where the custom field auto populate the % based on the issue status ( Open - 0%, , In Progress and other status represent the values, Closed - 100%)
If above does not qualify, please advise alternative scenario to match the above scenarios.
If I understand you correctly, the % value should change based on the workflow step. That is fairly easy to implement in a workflow, but not so easy if you want it on multiple workflows. The out of the box solution is to create a custom field and use a post function to set the value each time you transition the workflow. Only put the field on the view screen so it can't be edited by the user.
The other, more complicated solution, is to have scripting set the value. The script would need to know the number of steps in the workflow and divide 100% by that number of steps and set it in a post function. If you have possible alternate branches it becomes more complicated.
Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events