jira-cli icon indicating copy to clipboard operation
jira-cli copied to clipboard

How to specify reporter for a create template?

Open chipbite opened this issue 4 years ago • 6 comments

Hi! Trying to use jira new with template: It always asks for reporter, I have tried editing the config to get reporter to be pre-set to my own user, simply will not work. I have found the GUID:ish id that they use.

I have tried:

  1. "reporter": "<my guid>"
  2. "reporter": { "id":"<my guid>"
  3. "reporter": { "accountId":"<my guid>"

I have to reply to the reporter question (with the UUID) and then it works. But that is not so nice.

Anyway to config my userid for the new operation?

BR! /marcus

chipbite avatar Oct 05 '21 11:10 chipbite

Hi, So, I got around to trying this again, a few months later. (jiracli is a nice to have. would improve workflow) In summary, I have got queries working, commenting with user aliases work, i e:

jira comment KP-26724 "[~mawi]  test2"

Where I have added alias in the jira-cli config like so:

  "user_alias": {
    "mawi": "accountid:557058:4549f9f5-556c-4bea-a91c-c169f742ee76",
    "fred": "accountid:5ebaa7a84e41b90b7b49ece0"
  },

But - the topic/question above question remains: How can I use new/create templates with reporter set to me?

@danshumaker - any clues?

BR! /marcus

chipbite avatar Dec 17 '21 08:12 chipbite

@chipbite can you please share your requirements, may be i can help

palashkulsh avatar Dec 17 '21 08:12 palashkulsh

@palashkulsh what do you mean, is there something unclear? Please read the first post. If anything is unclear, please let me know.

chipbite avatar Dec 17 '21 08:12 chipbite

can you try adding "reporter":{ "uuid": "{69e37199-XXXXXXXXXXXXX701XXXX11a4}" }

palashkulsh avatar Dec 17 '21 08:12 palashkulsh

Does not work. Does that work for you @palashkulsh ?

chipbite avatar Dec 17 '21 12:12 chipbite

its working in bitbucket so i thought maybe it will work here

palashkulsh avatar Dec 17 '21 16:12 palashkulsh