HI
i have created a new screen that contain those fields:
First Name
Last Name
ID
Summary
i want to fill out only the 3 first fields and those values will appear automatically in the summary field so i dont need to enter details twice.
is it possible in the jira cloud?
Hi @Joseph Gati I don't think it is posiible on Cloud. It is possible on Server/DC (I'm using Behaviours functions from ScriptRunner App).
You could do it using postfunction/automation but summary field would be filled in AFTER the screen is saved. If you are interested in this solution, just let me know...
so how do you design an employee screen?
Summary field that contain his first name & last Name & ID?
or all those values in separate rate fields?
and regarding your answer - how do i do it with post-functions/automation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would have a think about what you want from an employee record. In most cases, I'd expect a summary to hold the primary name that an employee is known by within the organisation, but then have fields dedicated to each specific piece of information.
Or, arguably, put the ID, or a login in the summary, but as the summary is the first thing a human sees in Jira, I don't think that's a good use, as humans start by thinking other humans are human. No one calls me nbrough or id27 at Adaptavist. And concatenating things together into a summary is just a pain in the neck, it breaks most of your reporting and search
Dedicated fields are the way to go, a summary that is readily identifiable to people and then consider a full legal name, first name(s), last name, id, email, airport preferences, etc.
Don't update the summary automatically, that just annoys people who have been forced to put data into it already.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Dedicated fields are the way to go, a summary that is readily identifiable to people and then consider a full legal name, first name(s), last name, id, email, airport preferences, etc."
thats mean i need to write twice the first name, last name, and id number:
the first time in dedicated field
the second time in the summary field
and that is also annoying...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Joseph Gati , I agree with @Nic Brough -Adaptavist- because it is kind of hacking some BASIC Jira functionality. But if you still need to know how to setup automation to update Summary field, here is some screenshot:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
as i see you do the "hack" via new rule.
but the first condition will not happed cause jira won’t let you create an issue without summary.
it like the egg and the chicken problem
so this "hack" only work if you have already
this is how my rule configured
i dont know if i can do it like this (but my custom field called: First Name, Last Name, ID) there is a space between the words.
when i try to create an issue and i dont put anything in the summary field the Jira dont let me open the issue it says that i need to type something in summery filed (its mandatory) - so it mean that the rule is never execute
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exactly - that's the horrible thing you should not do to your people!
I'm not saying "don't", just that you should think through the usage a bit more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think there is no solution for that.
Do you have something in your mind to help me with that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only good answer is to not try to use the summary this way.
A less good answer is the automations you've seen above and telling your users they're going to have to put up with entering data that is going to be destroyed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
10x alot
i success to do what i want with the workaround of @Martin Bayer _MoroSystems_ s_r_o__
the next issue is the i want the value in summery field will created with with default value (like "employee") and than @Martin Bayer _MoroSystems_ s_r_o__ workaround will work automatically.
i use the solution here:
and add at the Description of the field:
<script type="text/javascript">
if (document.getElementById("summary").value == "") {
document.getElementById("summary").value = "Employee\n";}
</script>
but it doesn't work - it is nor insert the word "Employee" to the summary field when an issue created
what i'm doing wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note the box at the top of the doc - this kludge only works on Server and DC. Cloud does not allow for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So for cloud i dont have any option to insert default value to summary field?!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
:(
thank you very much for your assistance
hope this feature will be on cloud too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think you will ever see "destroy what the human wrote and build something useless to them" implemented. An issue summary probably should be a short bit of text that explains why we are raising an issue. Encoding other stuff into it, defaulting things that people will then ignore - not helpful.
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.