avih75 / Action_Button_Control

Button for work item
MIT License
2 stars 5 forks source link

Unable to copy the fields after creating the button and action command #12

Closed pooja2289 closed 3 years ago

pooja2289 commented 3 years ago

Hi - I am trying to create a new button to create a copy of a Workitem, however, I am unable to use the "Fields to Copy" feature. It is not copying all the fields when I create the copy Workitem. Could you please help me with this issue?

avih75 commented 3 years ago

Hi Can you send me pictures of you configuraton

בתאריך יום ג׳, 5 בינו׳ 2021, 02:37, מאת pooja2289 ‏<notifications@github.com

:

Hi - I am trying to create a new button to create a copy of a Workitem, however, I am unable to use the "Fields to Copy" feature. It is not copying all the fields when I create the copy Workitem. Could you please help me with this issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI5YXQEREJ2YCBT4F7DSYJNLVANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Sure. Please find the pictures below. Please note that some of the fields I was trying to copy are not inherited fields, it was manually created for a purpose. However, I was unable to copy even the inherited fields like "Acceptance criteria" etc..

Custom Control

Custom Control_Image2

avih75 commented 3 years ago

Hi IN the first picture The action parameter Should be seperated by ',' So if you want to use two buttons You write Copy work item,comman The command action, wont be nedede for you... So just write the function you wanted COpy work item

בתאריך יום ג׳, 5 בינו׳ 2021, 16:53, מאת pooja2289 ‏<notifications@github.com

:

Sure. Please find the pictures below. Please note that some of the fields I was trying to copy are not inherited fields, it was manually created for a purpose. However, I was unable to copy even the inherited fields like "Acceptance criteria" etc..

[image: Custom Control] https://user-images.githubusercontent.com/22241401/103659565-8e5ba400-4f3a-11eb-9844-aae2a616035e.JPG

[image: Custom Control_Image2] https://user-images.githubusercontent.com/22241401/103660087-31acb900-4f3b-11eb-82ca-afb42c327ef8.JPG

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-754683431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI6ALXVSAXSSKVKIMHDSYMRV5ANCNFSM4VT4KN5A .

avih75 commented 3 years ago

New work item

בתאריך יום ג׳, 5 בינו׳ 2021, 20:02, מאת Avi Hadad ‏avih75@gmail.com:

Hi IN the first picture The action parameter Should be seperated by ',' So if you want to use two buttons You write Copy work item,comman The command action, wont be nedede for you... So just write the function you wanted COpy work item

בתאריך יום ג׳, 5 בינו׳ 2021, 16:53, מאת pooja2289 ‏< notifications@github.com>:

Sure. Please find the pictures below. Please note that some of the fields I was trying to copy are not inherited fields, it was manually created for a purpose. However, I was unable to copy even the inherited fields like "Acceptance criteria" etc..

[image: Custom Control] https://user-images.githubusercontent.com/22241401/103659565-8e5ba400-4f3a-11eb-9844-aae2a616035e.JPG

[image: Custom Control_Image2] https://user-images.githubusercontent.com/22241401/103660087-31acb900-4f3b-11eb-82ca-afb42c327ef8.JPG

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-754683431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI6ALXVSAXSSKVKIMHDSYMRV5ANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Hi @avih75 - Thanks for the response. I did change that, however, I am still facing the same issue. This is my scenario:

  1. I have a Workitem named "Hotfix" which has Repro Steps info, Acceptance criteria Info, Likelihood of the issue occurring details, and much other info.
  2. Now every time a "Hotfix" is created, we need to create a copy of that work item which will be a "Bug" and place it onto the team's Iteration.
  3. So, the copy should basically have all the info and details of what's present in the Hotfix work item.
  4. The issue is when I create the action button "Copy Work Item" or " New Work Item" it does create a bug but none of the details of the fields get filled out. It comes out an empty bug with just Title being copied.

Action Control

avih75 commented 3 years ago

Let try something I think the space betewin the ',' and the second refname is the problem Try start with other fild... Put the title second

So we know the problem

בתאריך יום ג׳, 5 בינו׳ 2021, 22:34, מאת pooja2289 ‏<notifications@github.com

:

Hi @avih75 https://github.com/avih75 - Thanks for the response. I did change that, however, I am still facing the same issue. This is my scenario:

  1. I have a Workitem named "Hotfix" which has Repro Steps info, Acceptance criteria Info, Likelihood of the issue occurring details, and much other info.
  2. Now every time a "Hotfix" is created, we need to create a copy of that work item which will be a "Bug" and place it onto the team's Iteration.
  3. So, the copy should basically have all the info and details of what's present in the Hotfix work item.
  4. The issue is when I create the action button "Copy Work Item" or " New Work Item" it does create a bug but none of the details of the fields get filled out. It comes out an empty bug with just Title being copied.

[image: Action Control] https://user-images.githubusercontent.com/22241401/103695901-68022c80-4f6b-11eb-916a-1b43916c23f3.JPG

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-754882882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI74QY4MULAAI2YW5CTSYNZUNANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Hi @avih75 - I tried that and still facing the same issue.

  1. Changed the field, and put the title to second. Action Control_1

  2. This is the Hotfix Work Item which has acceptance criteria written in it. Hotfix_Work Item

  3. This is the Copy work item (bug) that comes empty after using the action button. Copy Work Item

avih75 commented 3 years ago

Let have zoom tommorow morning

בתאריך יום ג׳, 5 בינו׳ 2021, 23:30, מאת pooja2289 ‏<notifications@github.com

:

Hi @avih75 https://github.com/avih75 - I tried that and still facing the same issue.

1.

Changed the field, and put the title to second. [image: Action Control_1] https://user-images.githubusercontent.com/22241401/103700831-05149380-4f73-11eb-8c2e-ac2c4173cdc2.JPG 2.

This is the Hotfix Work Item which has acceptance criteria written in it. [image: Hotfix_Work Item] https://user-images.githubusercontent.com/22241401/103700871-178ecd00-4f73-11eb-9bc3-1043d2194eba.JPG 3.

This is the Copy work item (bug) that comes empty after using the action button. [image: Copy Work Item] https://user-images.githubusercontent.com/22241401/103700921-2f665100-4f73-11eb-90d5-3cc60070648d.JPG

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-754910463, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI37CYIKINVRS6LQF2LSYOAFVANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Sure. Do you want to schedule it? What time works for you? I am in EST time zone.

avih75 commented 3 years ago

Well i am from israel.... So let say, 9 houre from now

בתאריך יום ד׳, 6 בינו׳ 2021, 00:19, מאת pooja2289 ‏<notifications@github.com

:

Sure. Do you want to schedule it? What time works for you? I am in EST time zone.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-754936759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUIZN4WHKUE3P5AAPDATSYOF5ZANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Can we have Israel time at 3:30 PM? That will be 8:30 AM EST. This is the Zoom Link - https://us05web.zoom.us/j/84917141374?pwd=OFI5ZDB3QTNsVEFYcHkwWVNzdWRRUT09

avih75 commented 3 years ago

One more thing... The refnames you used arnt correct System.ReproStep There is no spaces in there Do you know how to get the real refnames of all fields? There is a url that give you that Something like Http//colection/project/workitem/api....

בתאריך יום ד׳, 6 בינו׳ 2021, 00:46, מאת Avi Hadad ‏avih75@gmail.com:

Well i am from israel.... So let say, 9 houre from now

בתאריך יום ד׳, 6 בינו׳ 2021, 00:19, מאת pooja2289 ‏< notifications@github.com>:

Sure. Do you want to schedule it? What time works for you? I am in EST time zone.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-754936759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUIZN4WHKUE3P5AAPDATSYOF5ZANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Hi @avih75 - Yes I used the URL to get the real reference names and used that. I am still seeing the same issue.

avih75 commented 3 years ago

Ok.... aet the meetingנשלח מה-Galaxy שלי -------- הודעה מקורית --------מאת: pooja2289 notifications@github.com תאריך: 6.1.2021 01:49 (GMT+02:00) אל: avih75/Action_Button_Control Action_Button_Control@noreply.github.com עותק: avih75 avih75@gmail.com, Mention mention@noreply.github.com נושא: Re: [avih75/Action_Button_Control] Unable to copy the fields after creating the button and action command (#12) Hi @avih75 - Yes I used the URL to get the real reference names and used that. I am still seeing the same issue.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

pooja2289 commented 3 years ago

hi @avih75 - Are u joining the Zoom call now? This is the Zoom Link - https://us05web.zoom.us/j/84917141374?pwd=OFI5ZDB3QTNsVEFYcHkwWVNzdWRRUT09

avih75 commented 3 years ago

well....let me in

On Wed, Jan 6, 2021 at 3:37 PM pooja2289 notifications@github.com wrote:

hi @avih75 https://github.com/avih75 - Are u joining the Zoom call now? This is the Zoom Link - https://us05web.zoom.us/j/84917141374?pwd=OFI5ZDB3QTNsVEFYcHkwWVNzdWRRUT09

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-755302669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI2ARIOOB2KTHMZXQ5DSYRRRLANCNFSM4VT4KN5A .

-- בתודה, אבי חדד 0542400091

avih75 commented 3 years ago

hi well.... in my project its working i did some changes in the last two days, so i dont know if the problem solved because of them or if the problem is in your template so.... update the Control

On Wed, Jan 6, 2021 at 3:52 PM Avi Hadad avih75@gmail.com wrote:

well....let me in

On Wed, Jan 6, 2021 at 3:37 PM pooja2289 notifications@github.com wrote:

hi @avih75 https://github.com/avih75 - Are u joining the Zoom call now? This is the Zoom Link - https://us05web.zoom.us/j/84917141374?pwd=OFI5ZDB3QTNsVEFYcHkwWVNzdWRRUT09

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-755302669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI2ARIOOB2KTHMZXQ5DSYRRRLANCNFSM4VT4KN5A .

-- בתודה, אבי חדד 0542400091

-- בתודה, אבי חדד 0542400091

pooja2289 commented 3 years ago

Hi @avih75 - Thanks for connecting today. Not sure if the problem is in my template. I updated the control, it's still not working. Thanks for checking.

avih75 commented 3 years ago

Try do it on diffrent project Without the template inishilizer

בתאריך יום ד׳, 6 בינו׳ 2021, 17:40, מאת pooja2289 ‏<notifications@github.com

:

Hi @avih75 https://github.com/avih75 - Thanks for connecting today. Not sure if the problem is in my template. I updated the control, it's still not working. Thanks for checking.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-755374234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI2HGRSMSRMKY7X2IX3SYSAADANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Is the HTML tag working in your project? Can you try putting this on a work item and see if it's working.

Steps to reproduce:
 

Expected Results:


Actual Results:


avih75 commented 3 years ago

Or may be copy and past to me in mail The content of your repro steps

בתאריך יום ד׳, 6 בינו׳ 2021, 17:55, מאת Avi Hadad ‏avih75@gmail.com:

Try do it on diffrent project Without the template inishilizer

בתאריך יום ד׳, 6 בינו׳ 2021, 17:40, מאת pooja2289 ‏< notifications@github.com>:

Hi @avih75 https://github.com/avih75 - Thanks for connecting today. Not sure if the problem is in my template. I updated the control, it's still not working. Thanks for checking.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-755374234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI2HGRSMSRMKY7X2IX3SYSAADANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Attached the HTML Content of Repro Steps

HTML.txt

avih75 commented 3 years ago

sorry in my project it works greate i think it because you inisilize you work item, so it run it over

On Wed, Jan 6, 2021 at 5:57 PM pooja2289 notifications@github.com wrote:

Attached the HTML Content of Repro Steps

HTML.txt https://github.com/avih75/Action_Button_Control/files/5776755/HTML.txt

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-755384783, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUIYARB3HSYXBDOQOXNDSYSCALANCNFSM4VT4KN5A .

-- בתודה, אבי חדד 0542400091

avih75 commented 3 years ago

well.... did you manage to use it ?

On Wed, Jan 6, 2021 at 6:04 PM Avi Hadad avih75@gmail.com wrote:

sorry in my project it works greate i think it because you inisilize you work item, so it run it over

On Wed, Jan 6, 2021 at 5:57 PM pooja2289 notifications@github.com wrote:

Attached the HTML Content of Repro Steps

HTML.txt https://github.com/avih75/Action_Button_Control/files/5776755/HTML.txt

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-755384783, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUIYARB3HSYXBDOQOXNDSYSCALANCNFSM4VT4KN5A .

-- בתודה, אבי חדד 0542400091

-- בתודה, אבי חדד 0542400091

pooja2289 commented 3 years ago

maybe. So the workaround I did was, I deleted the HTML tags, and converted them to actual fields so each of them got its own reference names and then used that to create the copy. This is working great.

Thanks for your assistance on this issue.

avih75 commented 3 years ago

Greet, happy you manage. Please rate my extenshion in the marketplace

You can see my other great extenshions there

בתאריך יום ה׳, 7 בינו׳ 2021, 13:53, מאת pooja2289 ‏<notifications@github.com

:

maybe. So the workaround I did was, I deleted the HTML tags, and converted them to actual fields so each of them got its own reference names and then used that to create the copy. This is working great.

Thanks for your assistance on this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-756070827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI4FVJA45CQVGNQG4MTSYWODBANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

I will. Thank you!

pooja2289 commented 3 years ago

Hi @avih75 - I wanted to know if this extension only works if you are the admin of a project? Because I asked one of a colleague to try it and she was unable to use it. Does everyone need to have admin access to use this?

pooja2289 commented 3 years ago

Hi @avih75 - I wanted to know if this extension only works if you are the admin of a project? Because I asked one of a colleague to try it and she was unable to use it. Does everyone need to have admin access to use this?

avih75 commented 3 years ago

Hi, No...theres no need to be admin for this action button to be used

בתאריך יום א׳, 10 בינו׳ 2021, 02:24, מאת pooja2289 ‏< notifications@github.com>:

Hi @avih75 https://github.com/avih75 - I wanted to know if this extension only works if you are the admin of a project? Because I asked one of a colleague to try it and she was unable to use it. Does everyone need to have admin access to use this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-757389292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI5PPYIVOJFY7MYATF3SZDXUJANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Hi @avih75 - I tried with a couple of my colleagues and it was the same issue. They were unable to use the button without Admin access. This is what we tried:

  1. Allowed the user access to the Project and made them try the button - It didn't work.
  2. I made them the admin of the feature team and tried - It still didn't work.
  3. Then I made them the Project Admin - It worked this time.

So, not sure whats the issue is. But, we will be unable to make everyone admin in the project level to be able to use this button. Could you please help with this issue.

avih75 commented 3 years ago

Hi My clients do use it And not having the admin prev. As i remember, you open the work item on a diffret project So, the users should have permission on both project ... did you check that ?

בתאריך יום ב׳, 11 בינו׳ 2021, 23:21, מאת pooja2289 ‏< notifications@github.com>:

Hi @avih75 https://github.com/avih75 - I tried with a couple of my colleagues and it was the same issue. They were unable to use the button without Admin access. This is what we tried:

  1. Allowed the user access to the Project and made them try the button
    • It didn't work.
  2. I made them the admin of the feature team and tried - It still didn't work.
  3. Then I made them the Project Admin - It worked this time.

So, not sure whats the issue is. But, we will be unable to make everyone admin in the project level to be able to use this button. Could you please help with this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-758232450, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI6MWEG6HL2NKATBQKDSZNTWBANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Hi @avih75 - Yes, the user was added to both the projects and add permissions. It still did not work. Not sure whats the issue is.

pooja2289 commented 3 years ago

Hi @avih75 - Does it have to do anything with the licensing of the users? Like Basic vs Stakeholder access.

avih75 commented 3 years ago

Actualy its very logic, Im not shoure that stackholder are aloud to open any new work item. Is your client is stackholder or a basic ?

בתאריך יום ג׳, 12 בינו׳ 2021, 23:47, מאת pooja2289 ‏< notifications@github.com>:

Hi @avih75 https://github.com/avih75 - Does it have to do anything with the licensing of the users? Like Basic vs Stakeholder access.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-759051894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI75PMD4JLZ2Y3JOSVTSZS7P7ANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

One of my colleague has " VS Test Pro with MSDN" access and the other one has a "Visual Studio Enterprise" subscription.

pooja2289 commented 3 years ago

hi @avih75 - This is to inform you that I tried with almost 10 colleagues in my company and it did not work for anyone unless they were made as Project admin.

avih75 commented 3 years ago
HiThat must be some authorization rule that stand in your way, I don’t use any permission in this control Please check the debug in the browser if it throw any messege Sent from Mail for Windows 10 From: pooja2289Sent: Thursday, 14 January 2021 22:29To: avih75/Action_Button_ControlCc: avih75; MentionSubject: Re: [avih75/Action_Button_Control] Unable to copy the fields after creating the button and action command (#12) hi @avih75 - This is to inform you that I tried with almost 10 colleagues in my company and it did not work for anyone unless they were made as Project admin.—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. 
pooja2289 commented 3 years ago

Hi @avih75 - Thanks for your support on this. I was able to fix the issue, it was a setting problem. I had to set the permissions to bypass the rules of creating a workitem. Thanks again!

avih75 commented 3 years ago

Ohh... Right, i use a bypass rule in the code So the values you pass can be not aqured (my be not neccesery)

בתאריך יום ו׳, 15 בינו׳ 2021, 01:33, מאת pooja2289 ‏< notifications@github.com>:

Hi @avih75 https://github.com/avih75 - Thanks for your support on this. I was able to fix the issue, it was a setting problem. I had to set the permissions to bypass the rules of creating a workitem. Thanks again!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avih75/Action_Button_Control/issues/12#issuecomment-760544604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPBUI3YUBJQGGQA5MWUZX3SZ55MNANCNFSM4VT4KN5A .

pooja2289 commented 3 years ago

Hi @avih75 - Am sorry, I am back with another query. So, When I use the convert workitem command it is not actually converting the work item, it is basically creating a copy of that work item. Is that how it intends to work? Below is my scenario:

  1. I need to convert Bug to a new work item called "Hotfix".
  2. Then Create a copy of that "Hotfix" which will create a new bug.
  3. What this is doing is - When I convert Bug to new work item "Hotfix" it is actually creating a copy of that bug as a Hotfix work item, it is not converting it. So, we ended up having 3 copies of the same bug. Below is the screen shot of the same:

Hotfix