How to prevent a user from login to Jira directly through API

Hi,

I wonder how to prevent a user(e.g. a newly created user) from login to JIRA directly?(Through API to implement)

Thanks

1 answer

Thank you Marc, any reference of using PHP to implement?

JIRA run whitin a java jvm .. this hardly mix with php.

if you want to use php , then you just have to call the jira rest api from your php code. you can easily do some rapide prototyping with curl or any tools of choices for rest :

  • create user
  • deactivate user

if you dont want to make 2 disctinct call , you can create a REST Service Plugin with the above mentioned code , and then call this url from you php code .

best regards

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 Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

74 views 0 11
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