I have two custom fields - one is called "requirement" and other is called "Approved requirement". I'd like for the "Approved requirement" custom field to be non-editable, except by certain users (for ex. project manager). When an issue is created, the requirement text is entered into the "requirement" field. An approval workflow will be created to ensure that the project manager reviews and approves the "requirement". Once approval is provided, I'd like for the "Approved Requirement" field to be populated with the text from "requirement".
If automated update of the "Approved Requirement" is not possible, the project manager can manually update the "Approved Requirement". Regardless, the key is that read/write access can be determined for the "approved requirement" field.
How can I implement this?
Hi @Girish Ramachandran ,
I would like to recommend to
1. Remove "Approved requirement" from create and edit screens
2. Create a new transition say "Approve Requirement" and allow only project admins, managers to perform this transition. You can add a postfunction to this trasnsition to copy the field value from "requirement" to "Approve Requirement" (if requirement has a value). You may also add the field to the transition screen.
Once the issue is transitioned, the value will be displayed on the view screen.
On a separate note, if you are using Requirement Approved as a status, you may not need a field to capture Approve requirement (kind of repetitive).
Thank you @Niranjan
This sounds like a very elegant solution.
Could you send me some links or information on how to setup the create, edit and view screens?
For your context, I am currently only using Default field configurations and I do not have any Field Configuration schemes. Also, I only have default screen and screen schemes.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. You need to copy the screens and screen schemes. Do not make changes to the default screen schemes.
2. You must able to confiure create issue, edit issue , view issue screen under screen schemes.
3. Remove the field "Approve Requirement" from create and edit issue. Add it only to view screen
4. Copy the workflow and workflow scheme.
5. Add a transition "Approve Requriremnt witha transtion screen,
6. Add a postfunction for the transition to copy value from requirement to Approve Requirement (if requirement field is not empty). You can do with plugins like JWME or script runner
https://support.atlassian.com/jira-cloud-administration/docs/manage-issue-screens/
https://support.atlassian.com/jira-software-cloud/docs/configure-the-issue-detail-view/
https://support.atlassian.com/jira-cloud-administration/docs/add-a-custom-field-to-a-screen/
https://support.atlassian.com/jira-core-cloud/docs/build-the-workflow-you-need/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Niranjan Thank you for your instructions and help, I was able to update my issues to reflect what I was looking for.
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.