Super Contributor.. Super Contributor..
Super Contributor..

How to ensure a defect can be submitted only in NEW status

One would think the ALM system by default would not allow a defect to submitted in FIXED status or any other status for that matter apart from NEW. How can we ensure through the workflow that this is not allowed. 

(If this post solves or helps solve your issue, mark the thread as solved and give kudos to the author for their assistance. Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.)
1 Reply
Valued Contributor.. Valued Contributor..
Valued Contributor..

You can mark status field as read only whenever a new defect is created because by default the initial status will always be "New".

You can achieve this by including below line of code in Bug_New function of workflow.

Bug_Fields("BG_STATUS").IsReadOnly = true


(If this helped, accept as solution )
(Posts and opinions made here are my own and do not reflect the opinions of my employer)


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.