Hide Summary field, make it as non-editable and update Summary through PostFunction

Hi All,

My requirement is to make the Summary field non-editable for one particular issue type.

1. A text field called "customsummary" is added to the create screen

2. The Summary of the issue Type shall not be editable by the user

3. When the issue is updated the Summary field shall be updated according to the format

[Value in Customsummary][Jiraissuekey]

Please let me know if there is any feasible solution for this

Thanks

2 answers

This widget could not be displayed.

This will not work. You must enter a summary as you create the issue.

What you CAN do is write/find a plugin that will update the summary after the users commit the creation.

If you really do want something that automatically generates it, I'd also add javascript to the create screen to pre-populate the summary with something like "Automatically generated summary, please leave this here".

If you're planning to auto-generate the summary based on what they entered in your customsummary, then I'd forget it - let them enter the summary as normal, and then the post-function will have what they've entered available and can simply change it instead of processing two fields.

If you want to disable it completely, or even just make it optional on create, you need to amend the core code.

Hi Nic,

Thanks for the reply. I will try to do any of the suggested methods.

This widget could not be displayed.

Or simply swap the usage. Keep summary as it is and create another Scripted Field (using script runner plugin) which always returns you this value [Summary][Issue Key]

Thanks Renjith.

Let me consult the reporter for this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

35 views 0 0
View post

Atlassian User Groups

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!

Find my local user group

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

Groups near you