Suppose there is a Custom field Business Demand, the value entered in this field should appear as a non editable text while creating its sub-task. EX: Business Demand abcd. Both, field and its value should appear while creating sub-task.
Look at the link, this way you can make it readonly,
Reg copying the value from parent to sub task you can try what Nic said or you can use Java script overall for copying and for making the field readonly.
Hope this helps.
This does not quite make sense. If you are creating a new issue, then the field will have no value because you haven't entered one yet, so there's nothing to display in a read-only mode.
I suspect what you mean is that "Business Demand" is not actually a field that belongs to the sub-task, it applies only to the parent, and you want to display it on the create screen for the sub-task? If so, then you're going to need a plugin that provides that display. I used to use velocity fields in the Jira toolkit to do this, but they've been removed because of security concerned in recent versions of the plugin, so you may have to look at other options.
Secondly, you may want to inherit it from the parent - you'll need a "copy value from parent" post-function plugin to do that.
I am wondering, can't this be achieved used our famous Script Runner with a Scripted Field if the requirement is to show the value from the parent field in the sub-task while viewing.
Rohan, can you explain the usecase a bit, why do you want to show the parent field in the sub-task during creation? Isn't sufficient to show in the sub-task while viewing?
(hope that there is some field in the create subtask screen which contains the issue id of the parent)
I thank everyone for the help. I have partially succeded in this task as I am able to get the field and its value while creating sub-task, but the issue is it is appearing as an editable text. I just need to make it non-editable or read-only. I used Copy to sub-task plugin to achieve this. Please help me out.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs