Error disabling user through CLI plugin (JIRA)

Hi

I have come across a bug and want your opinion how to get round it.,

I am trying to disable users through the CLI plugin.

Now if the user is a component lead then JIRA (through the UI) does not allow you to disable the user.

Now i would expect the same behavior if i try it through CLI

But the bug is that, despite the fact that the user is a component lead, CLI says that the account has been disabled (when in reality it is not)

How do we get round this bug.

Rahul

1 answer

1 accepted

It is likely the CLI is not recognizing the error coming back from JIRA and thinks the action succeeded when it did not. I have created JCLI-523. Sign-up for an id on that site and watch the issue.

Thanks Bob, is there any other side -effect of trying to disable such users through CLI. ?

imean at the moment it looks like a safe option since all it is doing is giving you a false message.

No, it is just asks JIRA do it using whatever available APIs there are. In this case, it is using UI base interfaces as there are no REST APIs available yet for this. Which is makes it more difficult to cover all the error cases correctly.

Thanks Bob, i cant get the link to buy the plugin and the pricing information.

Can you help me to the page please ?

Atlassian CLI license should have all the information you need regarding licensing and purchasing. Thank you for the purchase.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 6 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

85 views 4 5
Read article

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