Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify reporter for a create template? #60

Open
chipbite opened this issue Oct 5, 2021 · 6 comments
Open

How to specify reporter for a create template? #60

chipbite opened this issue Oct 5, 2021 · 6 comments

Comments

@chipbite
Copy link

chipbite commented Oct 5, 2021

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
Copy link
Author

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

@palashkulsh
Copy link
Contributor

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

@chipbite
Copy link
Author

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

@palashkulsh
Copy link
Contributor

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

@chipbite
Copy link
Author

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

@palashkulsh
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants