You can add the field only on the issue view screen. In this case the field will be only viewable. The other thing, which you have to keep in mind. The field will be visible on the view screen only if it has a value.
Can you send me screenshots?
How do you get to the option of creating a new field that can only be viewed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should create a different screen for the edit view screen and remove the required field from the screen and attach the screen to the screen scheme in the project. I attached a screenshot:
Kindly read the articles below:
https://confluence.atlassian.com/adminjiraserver/defining-a-screen-938847288.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I press on the buttom of 'Associate an issue operation with a screen' and choose the option 'Issue Operation' I choose 'View issue' and press 'OK'.
After that I define which fields will be just viewable, but in the end of this process nothing changes.
What am I not doing right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are three screens, which you can define for an issue: create, edit and view. If you have a filed only on the view screen and the field is not present on the edit screen, then you will not be able to edit the field.
What do you mean by nothing changes? You can still edit the field, can not you? If so, check that the filed is absent for the edit screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"There are three screens, which you can define for an issue: create, edit and view. If you have a filed only on the view screen and the field is not present on the edit screen, then you will not be able to edit the field."
Okey, but in my case I want that the task manger in the creation on the issue will enter a due date and after that he could not be able to update only to view this field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Put the field on the Create screen, but not edit.
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.
Yes, the user can fill it in on issue creation. You can make it mandatory too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But if I add this filed ,that must to be for view only, on issue creation this filed became editable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please make up your mind? Do you want the user to be able to enter the field on create issue or not?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's what I'm planning:
The user will enter the ORIGINAL ESTIMATE and then there will be a script which will convert this duration to the end date - the same date will be in a separate field which will be uneditable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right, so that is not what you originally asked about, but makes sense now you've given us the context, and finally explained that it's two fields, not one.
There are, in fact, two good ways to do this, both of which I would do with ScriptRunner (of course, as I work with them)
Method 1:
Method 2:
I lean towards the second one, because it leaves me the flexibility to still use all the estimate and time tracking functionality while maintaining my end date without having to add loads of stuff in listeners or workflows.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okey, I have some questions about your answer:
1. How to write a scripted post-function on the "create issue" transition that reads the estimate from the user's entered data and populates the date/time field?
2.How to consider adding "clear estimate" to the end of the script as you're not going to use it again?
3. How to create a new Scripted field with an output type of date/time that calculates the date from the estimate?
I am new in writing scripting, so I will need extended explanation.
Thank you.
Eitan.
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.